in reply to Re: Regex bug or head made of solid bone?
in thread Regex bug or head made of solid bone?
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:
had originally been written as:\\\\\+\\\- # matches literal \+\- in a variable
why do I need an additional '\' before a quoted + and only within a variable is beyond me.... Same reason?\\\+\\\- # matches literal \+\- in a literal regex
|
|---|