• fckeditorphp > orielly pocket reference - php regular expressions
  • orielly pocket reference - php regular expressions

    免费下载 下载该文档 文档格式:PDF   更新时间:2003-08-01   下载次数:0   点击次数:2
    文档基本属性
    文档语言:
    文档格式:pdf
    文档作者:Yue
    关键词:
    主题:
    备注:
    点击这里显示更多文档属性
    Regular Expressions for Perl, C, PHP, Python, Java, and .NET
    Regular Expression
    Pocket Reference
    Tony Stubblebine
    Regular Expression
    Pocket Reference
    Regular Expression
    Pocket Reference
    Tony Stubblebine
    Beijing Cambridge Farnham Kln Paris Sebastopol Taipei Tokyo
    PHP
    This reference covers PHP 4.3's Perl-style regular expression support contained within the preg routines. PHP also provides POSIX-style regular expressions, but these do not offer additional benefit in power or speed. The preg routines use a Traditional NFA match engine. For an explanation of the rules behind an NFA engine, see "Introduction to Regexes and Pattern Matching."
    Supported Metacharacters
    PHP supports the metacharacters and metasequences listed in Tables 31 through 35. For expanded definitions of each metacharacter, see "Regex Metacharacters, Modes, and Constructs."
    Table 31. Character representations Sequence
    \a \b \e \n \r \f \t \octal \xhex \x{hex} \cchar
    Meaning Alert (bell), x07. Backspace, x08, supported only in character class. ESC character, x1B. Newline, x0A. Carriage return, x0D. Form feed, x0C. Horizontal tab, x09 Character specified by a three-digit octal code. Character specified by a one- or two-digit hexadecimal code. Character specified by any hexadecimal code. Named control character.
    Table 32. Character classes and class-like constructs Class
    [...]
    Meaning A single character listed or contained within a listed range.
    PHP
    |
    63
    Table 32. Character classes and class-like constructs Class
    [^...] [:class:] . \C \w \W \d \D \s \S
    Meaning A single character not listed and not contained within a listed range. POSIX-style character class valid only within a regex character class. Any character except newline (unless single-line mode,/s). One byte; however, this may corrupt a Unicode character stream. Word character, [a-zA-z0-9_]. Non-word character, [^a-zA-z0-9_]. Digit character, [0-9]. Non-digit character, [^0-9]. Whitespace character, [\n\r\f\t ]. Non-whitespace character, [^\n\r\f\t ].

    下一页

  • 下载地址 (推荐使用迅雷下载地址,速度快,支持断点续传)
  • 免费下载 PDF格式下载
  • 您可能感兴趣的
  • fckeditorphp  php调用fckeditor  fckeditorphp配置  fckeditor  fckeditor漏洞  fckeditor下载  fckeditor配置  fckeditor使用  fckeditor怎么用  fckeditor只读