Possibly the only reason Pike doesn't alredy have such a syntax is that I think regexps are horrible and I consistently refused to make special hacks in the lexer/parser for the purpose of making regexp usage easier.
I still think regexps are horrible, but it's not really up to me anymore. :)
/ Fredrik (Naranek) Hubinette (Real Build Master)
Previous text:
2003-09-21 13:15: Subject: wish: string with other quoting then \
If I could wish, I think I'd wish for an alternative string syntax in Pike, that doesn't use \ to quote. It's so hairy writing advanced regexps if you have to quote the . :)
Is it a bad idea? It should be quote possible to do, if we could spare some syntax for it (and maybe figure out another quote character).
/ Mirar