|We don't bite newbies here... much|
Re: Named capture backreferences cannot be used in character classes?by davido (Archbishop)
|on Sep 26, 2013 at 17:05 UTC||Need Help??|
If it is only ' and ", you don't necessarily have to capture:
That's unsightly enough that I would probably want to define it as a named subpattern using:
*sigh* I posted too quickly... each alternate pattern would need to be tested individually, I think:
And even that simplifies to:
...so I'm sure the actual usage must be more complex. :) My apologies. heh.