Beefy Boxes and Bandwidth Generously Provided by pair Networks
Do you know where your variables are?
 
PerlMonks  

Re^3: Regex question once-only use of chars in a charset

by CountZero (Bishop)
on May 15, 2011 at 18:51 UTC ( #904983=note: print w/replies, xml ) Need Help??


in reply to Re^2: Regex question once-only use of chars in a charset
in thread Regex question once-only use of chars in a charset

It is an old trick. Transform both sides of the comparison to a canonical form and the whole problems becomes much easier to solve.

CountZero

A program should be light and agile, its subroutines connected like a string of pearls. The spirit and intent of the program should be retained throughout. There should be neither too little or too much, neither needless loops nor useless variables, neither lack of structure nor overwhelming rigidity." - The Tao of Programming, 4.1 - Geoffrey James

  • Comment on Re^3: Regex question once-only use of chars in a charset

Log In?
Username:
Password:

What's my password?
Create A New User
Node Status?
node history
Node Type: note [id://904983]
help
Chatterbox?
[shmem]: well, cadences are a bit different, also. But those are frills, too.
[shmem]: and the clarinet delivers a goof job, too.
[shmem]: oofs! s/oof/oob/
[shmem]: erm... again. s/oob/ood/

How do I use this? | Other CB clients
Other Users?
Others avoiding work at the Monastery: (7)
As of 2017-04-27 18:44 GMT
Sections?
Information?
Find Nodes?
Leftovers?
    Voting Booth?
    I'm a fool:











    Results (512 votes). Check out past polls.