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

Re^2: Regex tester

by alexm (Chaplain)
on Jun 28, 2008 at 12:11 UTC ( [id://694507]=note: print w/replies, xml ) Need Help??


in reply to Re: Regex tester
in thread Regex tester

Regex: ?time? ... Regex: |time| ... Regex: ~time~ ... Regex: !time!

You must add the m prefix unless you use the slash; it works the same way it does on Perl:

String: fred same joe time Regex: m?time? Result: fred same joe time Matched: Yes String: fred same joe time Regex: m~time~ Result: fred same joe time Matched: Yes String: fred same joe time Regex: m|time| Result: fred same joe time Matched: Yes String: fred same joe time Regex: m!time! Result: fred same joe time Matched: Yes

Log In?
Username:
Password:

What's my password?
Create A New User
Domain Nodelet?
Node Status?
node history
Node Type: note [id://694507]
help
Chatterbox?
and the web crawler heard nothing...

How do I use this?Last hourOther CB clients
Other Users?
Others chanting in the Monastery: (3)
As of 2026-04-14 12:12 GMT
Sections?
Information?
Find Nodes?
Leftovers?
    Voting Booth?

    No recent polls found

    Notices?
    hippoepoptai's answer Re: how do I set a cookie and redirect was blessed by hippo!
    erzuuliAnonymous Monks are no longer allowed to use Super Search, due to an excessive use of this resource by robots.