Changeset 2905 in project for wiki/Unit regex


Ignore:
Timestamp:
01/24/07 14:35:16 (14 years ago)
Author:
felix winkelmann
Message:

manual updates

File:
1 edited

Legend:

Unmodified
Added
Removed
  • wiki/Unit regex

    r1713 r2905  
    44== Unit regex
    55
    6 This library unit provides support for regular expressions. The flavor depends on
    7 the particular installation platform:
    8 
    9 * On UNIX systems that have PCRE (the Perl Compatible Regular Expression package) installed, PCRE is used.
    10 * If PCRE is not available, and the C library provides regular expressions, these are used instead.
    11 * on Windows (or of PCRE and libc regexes are not available), Dorai Sitaram's portable {{pregexp}} library is used.
     6This library unit provides support for regular expressions. The regular
     7expression package used is {{PCRE}} (''Perl Compatible Regular Expressions'')
     8written by Philip Hazel. See [[http://www.pcre.org]] for information about
     9the particular regexp flavor and extensions provided by this library.
    1210
    1311
     
    4644ignored, or whether the string should be treated as containing UTF-8 encoded
    4745characters, respectively.
    48 
    49 Notes:
    50 
    51 * regex doesn't allow (?: ) cloisters (non-capturing groups). Currently this means if you use utf8 matching, individual "." matching will return extra submatches.
    52 * pregexp doesn't allow a # comment w/o a trailing newline.
    5346
    5447
     
    171164
    172165
    173 Platform-specific notes:
    174 
    175 * due to a bug in the {{pregexp}} library, character classes enclosed in {{[ ... ]}} may not begin with a hyphen ({{-}}). A workaround is either to precede the hyphen with a backslash or use the range {{---}}.
    176 
    177166Previous: [[Unit match]]
    178167
Note: See TracChangeset for help on using the changeset viewer.