Beefy Boxes and Bandwidth Generously Provided by pair Networks
good chemistry is complicated,
and a little bit messy -LW
 
PerlMonks  

Re^2: syntax error near unexpected token `)'

by vit (Friar)
on May 20, 2012 at 17:05 UTC ( [id://971501]=note: print w/replies, xml ) Need Help??


in reply to Re: syntax error near unexpected token `)'
in thread syntax error near unexpected token `)'

Then how to handle a single quote match?
  • Comment on Re^2: syntax error near unexpected token `)'

Replies are listed 'Best First'.
Re^3: syntax error near unexpected token `)'
by zwon (Abbot) on May 20, 2012 at 17:17 UTC
    This sounds more like a bash question to me, but you can replace single quotes with \N{APOSTROPHE} or \x27. In bash you can do it like this:
    $ echo 'aa'"'"'bb'; aa'bb

      Alternatively and one shorter: Change ' to '\''.

      $ echo 'aa'\''bb'; aa'bb

Log In?
Username:
Password:

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

How do I use this?Last hourOther CB clients
Other Users?
Others goofing around in the Monastery: (3)
As of 2024-04-20 01:15 GMT
Sections?
Information?
Find Nodes?
Leftovers?
    Voting Booth?

    No recent polls found