Craziest backslash escape?
- \1 (backreference)
- \101 (octal)
- \A
- \B
- \C
- \D
- \E
- \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>
- \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....
Posts are HTML formatted. Put <p> </p> tags around your paragraphs. Put <code> </code> tags around your code and data!
Read Where should I post X? if you're not absolutely sure you're posting in the right place.
Please read these before you post! —
Posts may use any of the Perl Monks Approved HTML tags:
- a, abbr, b, big, blockquote, br, caption, center, col, colgroup, dd, del, div, dl, dt, em, font, h1, h2, h3, h4, h5, h6, hr, i, ins, li, ol, p, pre, readmore, small, span, spoiler, strike, strong, sub, sup, table, tbody, td, tfoot, th, thead, tr, tt, u, ul, wbr
Outside of code tags, you may need to use entities for some characters:
| |
For: |
|
Use: |
| & | | & |
| < | | < |
| > | | > |
| [ | | [ |
| ] | | ] |
Link using PerlMonks shortcuts! What shortcuts can I use for linking?
See Writeup Formatting Tips and other pages linked from there for more info.
|
|