Beefy Boxes and Bandwidth Generously Provided by pair Networks
The stupid question is the question not asked

Re: Re: Re: Re: Regular Expression Builder

by Anonymous Monk
on Aug 30, 2002 at 17:29 UTC ( #194188=note: print w/replies, xml ) Need Help??

in reply to Re: Re: Re: Regular Expression Builder
in thread Regular Expression Builder

But we are both in agreement that there isnt a good way to do this

Agreed. Anything that tries to generalize beyond "\Q$string\E" requires a variety of assumptions.

BTW, is the . really necessary? I dont think it is as the s/// will just skip the char if it doesnt match.

Just trying to be careful :-) In case I neglected something with those classes, and that something also required escaping, then just leaving it in the string wouldn't result in a valid re. (I don't tend to use POSIX char classes either, so I wasn't sure exactly how inclusive I was being).

Log In?

What's my password?
Create A New User
Node Status?
node history
Node Type: note [id://194188]
[Corion]: Discipulus: Windows isn't that complicated, at least if you look at it from the perspective of getting input via wndproc and answering to each message ;)
[Corion]: Of course, what you get put into your wndproc needs a lot of documentation ;))
Discipulus mmh maybe this is ovehelming my faculties

How do I use this? | Other CB clients
Other Users?
Others scrutinizing the Monastery: (7)
As of 2017-01-17 10:04 GMT
Find Nodes?
    Voting Booth?
    Do you watch meteor showers?

    Results (154 votes). Check out past polls.