perlrebackslash

perlrebackslash is a module with Perl Regular Expression Backslash Sequences and Escapes.
Download

perlrebackslash Ranking & Summary

Advertisement

  • Rating:
  • License:
  • Perl Artistic License
  • Price:
  • FREE
  • Publisher Name:
  • perlrebackslash team
  • Publisher web site:
  • http://search.cpan.org/~tty/kurila-0_02/pod/perlrebackslash.pod

perlrebackslash Tags


perlrebackslash Description

perlrebackslash is a module with Perl Regular Expression Backslash Sequences and Escapes. perlrebackslash is a module with Perl Regular Expression Backslash Sequences and Escapes.The top level documentation about Perl regular expressions is found in perlre.This document describes all backslash and escape sequences. After explaining the role of the backslash, it lists all the sequences that have a special meaning in Perl regular expressions (in alphabetical order), then describes each of them.Most sequences are described in detail in different documents; the primary purpose of this document is to have a quick reference guide describing all backslash and escape sequences.The backslashIn a regular expression, the backslash can perform one of two tasks: it either takes away the special meaning of the character following it (for instance, | matches a vertical bar, it's not an alternation), or it is the start of a backslash or escape sequence.The rules determining what it is are quite simple: if the character following the backslash is a punctuation (non-word) character (that is, anything that is not a letter, digit or underscore), then the backslash just takes away the special meaning (if any) of the character following it.If the character following the backslash is a letter or a digit, then the sequence may be special; if so, it's listed below. A few letters have not been used yet, and escaping them with a backslash is safe for now, but a future version of Perl may assign a special meaning to it. However, if you have warnings turned on, Perl will issue a warning if you use such a sequence.It is however garanteed that backslash or escape sequences never have a punctuation character following the backslash, not now, and not in a future version of Perl 5. So it is safe to put a backslash in front of a non-word character.Note that the backslash itself is special; if you want to match a backslash, you have to escape the backslash with a backslash: /\/ matches a single backslash. Requirements: · Perl


perlrebackslash Related Software