Beefy Boxes and Bandwidth Generously Provided by pair Networks
good chemistry is complicated,
and a little bit messy -LW
 
PerlMonks  

Re: Re: Apocalypse 5 and regexes (modifier reform)

by TheDamian (Priest)
on Jun 06, 2002 at 11:48 UTC ( #172153=note: print w/replies, xml ) Need Help??


in reply to Re: Apocalypse 5 and regexes (modifier reform)
in thread Apocalypse 5 and regexes

This is a good point.

Of course, I suspect we're not going to be snobs about the suffixes, and can simply suggest that ...th is the standard "skipping suffix" for anyone who can't handle all four. That is:

s:1th/pattern/string/; s:2th/pattern/string/; s:3th/pattern/string/; s:4th/pattern/string/; # etc.

would be perfectly valid.

Alternatively, the rule might be that any suffix other than ...x means repetition:

s:1um/pattern/string/; s:2ieme/pattern/string/; s:3itter/pattern/string/; s:4issimo/pattern/string/; # etc.
;-)

Log In?
Username:
Password:

What's my password?
Create A New User
Node Status?
node history
Node Type: note [id://172153]
help
Chatterbox?
[choroba]: I can't say "Good morning", getting the "Whoa cowboy"
[marto]: the same thing just happened to me :P
Discipulus our orders office is a crow of idiots...

How do I use this? | Other CB clients
Other Users?
Others meditating upon the Monastery: (7)
As of 2017-01-19 10:08 GMT
Sections?
Information?
Find Nodes?
Leftovers?
    Voting Booth?
    Do you watch meteor showers?




    Results (170 votes). Check out past polls.