Beefy Boxes and Bandwidth Generously Provided by pair Networks
P is for Practical
 
PerlMonks  

comment on

( [id://3333]=superdoc: print w/replies, xml ) Need Help??

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....


In reply to Re: poll ideas quest 2007 (Craziest escape) by ambrus
in thread poll ideas quest 2007 by ysth

Title:
Use:  <p> text here (a paragraph) </p>
and:  <code> code here </code>
to format your post; it's "PerlMonks-approved HTML":



  • Are you posting in the right place? Check out Where do I post X? to know for sure.
  • Posts may use any of the Perl Monks Approved HTML tags. Currently these include the following:
    <code> <a> <b> <big> <blockquote> <br /> <dd> <dl> <dt> <em> <font> <h1> <h2> <h3> <h4> <h5> <h6> <hr /> <i> <li> <nbsp> <ol> <p> <small> <strike> <strong> <sub> <sup> <table> <td> <th> <tr> <tt> <u> <ul>
  • Snippets of code should be wrapped in <code> tags not <pre> tags. In fact, <pre> tags should generally be avoided. If they must be used, extreme care should be taken to ensure that their contents do not have long lines (<70 chars), in order to prevent horizontal scrolling (and possible janitor intervention).
  • Want more info? How to link or How to display code and escape characters are good places to start.
Log In?
Username:
Password:

What's my password?
Create A New User
Domain Nodelet?
Chatterbox?
and the web crawler heard nothing...

How do I use this?Last hourOther CB clients
Other Users?
Others making s'mores by the fire in the courtyard of the Monastery: (3)
As of 2024-04-19 01:35 GMT
Sections?
Information?
Find Nodes?
Leftovers?
    Voting Booth?

    No recent polls found