in reply to Re: Regex bug or head made of solid bone?
in thread Regex bug or head made of solid bone?

Greetings,

interesting...
I wonder whether this is by design or by accident?

Looking back at my original example, another thing is appears to be non-obvious. The (backslashed) portion that reads:

\\\\\+\\\- # matches literal \+\- in a variable
had originally been written as:
\\\+\\\- # matches literal \+\- in a literal regex
why do I need an additional '\' before a quoted + and only within a variable is beyond me.... Same reason?
Cheers,
alf
You can't have everything: where would you put it?