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

Re: Test if string is already quote()'d? (REGEX rox)

by gmpassos (Priest)
on Jun 16, 2003 at 03:04 UTC ( [id://266100]=note: print w/replies, xml ) Need Help??

Help for this page

Select Code to Download


  1. or download this
      print is_quoted(q`I'm not quoted!`) . "\n" ;
      print is_quoted(q`"I'm \\"quoted!"`) . "\n" ;
    ...
      ##better:
      # return undef ;
    }
    
  2. or download this
    <<I'm not quoted!>>
    0
    ...
    1
    <<'x'>>
    1
    

Log In?
Username:
Password:

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

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

    No recent polls found