Bastien <b...@gnu.org> writes: > Hi Thorsten, > > Nicolas Goaziou <n.goaz...@gmail.com> writes: > >> Thorsten Jolitz <tjol...@gmail.com> writes: >> >>> What do you think - is there any chance that Org-mode switches from >>> static hardcoded regexp strings (all over the place) to dynamic >>> regexps calculated at runtime (using libraries like drx.el or rx.el)? >> >> I hope not. The syntax should stabilize, not drift away. > > Agreed. Maybe there are some hardcoded regexps that we can factor > out, but dynamically building those fundamental regexp is a deadend.
In the case of regexps its of course not considered bad practice to write "^foo$" many times in a program, so nobody is to blame here, but the issue is the same as writing (message "What a wonderful world") many times in a program and then entering a depressed state. Would have been better to write (message "What a %s world" current-world-view) ... -- cheers, Thorsten