Beefy Boxes and Bandwidth Generously Provided by pair Networks
No such thing as a small change
 
PerlMonks  

Re^2: Not matching a single quote (apostrophe!)

by puddleglum (Initiate)
on Nov 17, 2009 at 14:24 UTC ( [id://807701]=note: print w/replies, xml ) Need Help??


in reply to Re: Not matching a single quote (apostrophe!)
in thread Not matching a single quote (apostrophe!)

>> Since a quote is not special regexp character, it doesn't need escaping.

agreed!!

>> Or is the given quote a different quote than you are matching against? (Someone gives you a "smart" quote for instance ... )

yeah! hate smart quotes! the data file has been 'cleaned' to ensure there are no such entities. The quote character used in the replace was cut-and-pasted and globally-replaced in the data file and my perl, so it is definitely, 100%, exactly the same!

  • Comment on Re^2: Not matching a single quote (apostrophe!)

Log In?
Username:
Password:

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

How do I use this?Last hourOther CB clients
Other Users?
Others meditating upon the Monastery: (4)
As of 2024-04-23 23:03 GMT
Sections?
Information?
Find Nodes?
Leftovers?
    Voting Booth?

    No recent polls found