in reply to Re: No need to escape right brace in regex
in thread No need to escape right brace in regex
{ is only special if it's followed by /\d+,?\d*}/. If they want to add anything else that can go between { }, they have to either add a simple rule to the language (always backslash { unless you want special behavior), or a bunch of weird rules that they might want to change again later.
} is never special unless a preceding { makes it so.
|
|---|
| Replies are listed 'Best First'. | |
|---|---|
|
Re^3: No need to escape right brace in regex
by syphilis (Archbishop) on Oct 21, 2014 at 08:14 UTC | |
by LanX (Saint) on Oct 21, 2014 at 09:28 UTC | |
|
Re^3: No need to escape right brace in regex
by LanX (Saint) on Oct 21, 2014 at 10:18 UTC | |
by syphilis (Archbishop) on Oct 21, 2014 at 10:34 UTC | |
by LanX (Saint) on Oct 21, 2014 at 10:58 UTC |