Beefy Boxes and Bandwidth Generously Provided by pair Networks
Pathologically Eclectic Rubbish Lister
 
PerlMonks  

Re^3: separating two sententences

by AnomalousMonk (Archbishop)
on Sep 16, 2011 at 04:45 UTC ( [id://926307]=note: print w/replies, xml ) Need Help??


in reply to Re^2: separating two sententences
in thread separating two sententences

/"\(\w+\)"\/

In this regex, the '(' and ')' (parenthesis) characters, which would normally be regex metacharacters marking the start and end of a capture group, are escaped by \ (backslash) characters that return them to being literal '(' and ')' characters. Again, see muba's analysis above Update: ...and reply below. (Missed that last \. Bad case of backslashitis.).

Replies are listed 'Best First'.
Re^4: separating two sententences
by muba (Priest) on Sep 16, 2011 at 05:02 UTC

    Not to mention the backslash that escapes the forward slash that's supposed to mark the end of the regex. /...\/ should read /.../.

Log In?
Username:
Password:

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

How do I use this?Last hourOther CB clients
Other Users?
Others cooling their heels in the Monastery: (2)
As of 2024-04-26 01:24 GMT
Sections?
Information?
Find Nodes?
Leftovers?
    Voting Booth?

    No recent polls found