[Date Prev][Date Next] [Thread Prev][Thread Next] [Date Index][Thread Index][Top&Search][Original]
IT DOESN'T WORK Re: [PATCH English.pm] Removing the regex nastiness (finally)
I lied, it doesn't work... or rather it works intermitently. And I
don't know why. For some reason I can get it working in the debugger
but not when run normally. And to top it all off I've gotten it to
segfault under 5.005_03.
I have this sinking feeling that Perl -must- see $& at compile or
parse time for it to be usefully populated, which means I'd have to
fall back to my original idea of "use English qw(:NOREGEX);" which is
obviously not nearly as desireable.
I will play with it on the train home.
--
Michael G Schwern schwern@pobox.com
http://www.pobox.com/~schwern
/(?:(?:(1)[.-]?)?\(?(\d{3})\)?[.-]?)?(\d{3})[.-]?(\d{4})(x\d+)?/i
- Follow-Ups from:
-
Chris Nandor <pudge@pobox.com>
Gurusamy Sarathy <gsar@ActiveState.com>
Ilya Zakharevich <ilya@math.ohio-state.edu>
- References to:
-
Hugo <hv@crypt.compulink.co.uk>
Chris Nandor <pudge@pobox.com>
[Date Prev][Date Next] [Thread Prev][Thread Next] [Date Index][Thread Index][Top&Search][Original]