2010/1/27 Eric Brine <ikegami@adaelis.com>:
> On Tue, Jan 26, 2010 at 5:06 PM, demerphq <demerphq@gmail.com> wrote:
>>
>> And the toker [...] should not know anything
>> about regex syntax (think alternate engines).
>> So the thing that really has to do the expansion
>> won't know whether the \N{...} is in a "normal"
>> part of the regex or if its inside a charclass.
>
> What about if it's in something like (?{ ... })?
I believe that the toker handles discriminating between "regex" mode
and "code mode" and that this isnt a problem.
Yves
--
perl -Mre=debug -e "/just|another|perl|hacker/"
Thread Previous
|
Thread Next