Beefy Boxes and Bandwidth Generously Provided by pair Networks
Your skill will accomplish
what the force of many cannot
 
PerlMonks  

Re: poll ideas quest 2007 (Craziest escape)

by ambrus (Abbot)
on May 08, 2008 at 10:08 UTC ( [id://685425]=note: print w/replies, xml ) Need Help??


in reply to poll ideas quest 2007

Craziest backslash escape?

  • \1 (backreference)
  • \101 (octal)
  • \A
  • \B
  • \C
  • \D
  • \E
  • \F (Update 2015-06-08: added, new in 5.16.0)
  • \G
  • \H
  • \K
  • \L
  • \N{LATIN SMALL LETTER A}
  • \N{latin:a}
  • \N{U+2013} (Update 2010-11-24: added, newly documented in perl 5.12.0)
  • \N (non-newline) (Update 2010-03-29: added, new in perl 5.12.0)
  • \PL (Update 2008-08-29: added, dunno how I missed this)
  • \P{IsLower} (Update 2008-08-29: added, dunno how I missed this)
  • \Q
  • \R
  • \S
  • \U
  • \V
  • \W
  • \X
  • \Z
  • \a
  • \b (backslash)
  • \b (boundary)
  • \cT
  • \d
  • \e
  • \f
  • \g1
  • \g{-1}
  • \g{named}
  • \h
  • \k<named> or \k{named} or \k'named'
  • \l
  • \n
  • \o{20023} (Update 2010-11-24: added, new in perl 5.13.3)
  • \pL
  • \p{IsLower}
  • \r
  • \s
  • \t
  • \u
  • \v
  • \w
  • \x41
  • \x{2019}
  • \z

We could also do favourite regex modifier, but that'd be too similar to I resolve to finally grok and use the regex option... except that we'd now also have /p. See also The most annoying common way to get a string literal in Perl is....

  • Comment on Re: poll ideas quest 2007 (Craziest escape)

Replies are listed 'Best First'.
Re^2: poll ideas quest 2007 (Craziest escape)
by chacham (Prior) on Jun 23, 2014 at 12:20 UTC

    Craziest backslash escape

    Don't know. Haven't read enough murder/thriller books.

Log In?
Username:
Password:

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

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

    No recent polls found