Changeset 12929 in project


Ignore:
Timestamp:
12/31/08 13:19:46 (11 years ago)
Author:
felix winkelmann
Message:

removed some obsolete exports from regex import lib and manual

Location:
chicken/trunk
Files:
3 edited

Legend:

Unmodified
Added
Removed
  • chicken/trunk/TODO

    r12920 r12929  
    2323
    2424** modules
    25 *** import lib holds undefined in expansions for undefined but exported bindings
    2625*** `require-extension' fails in interpreter when extension is .so without import library
    2726    probably because load and import is in same toplevel form, and the
     
    3635** build
    3736*** fix mingw build, quickly
    38 *** compiling chicken-install/-uninstall must use invalid or disabled existing repository
    39     otherwise we use stale import libraries
    4037
    4138** libraries/build
     
    4542
    4643* tasks
    47 
    48 ** documentation
    49 *** update NEWS
    5044
    5145** branches
     
    7468** compiler
    7569*** test define-rewrite-rule
    76 **** use declarative interface?
    77 *** generate object-files in /tmp (or TMPDIR)?
     70*** (csc) generate object-files in /tmp (or TMPDIR)?
    7871
    7972** setup/install
     
    8578
    8679** henrietta
     80*** test (regex changes)
    8781*** mode that responses with list of available eggs (ls + check for .meta files)
    8882*** mode that responses only with .meta information
  • chicken/trunk/manual/Unit regex

    r12920 r12929  
    6666characters, respectively.
    6767
    68 
    69 === regexp*
    70 
    71  [procedure] (regexp* STRING [OPTIONS [TABLES]])
    72 
    73 Returns a precompiled regular expression object for {{string}}. The optional
    74 argument {{OPTIONS}} must be a list of option symbols. The optional argument
    75 {{TABLES}} must be a character definitions table (not defined here).
    76 
    77 
    78 Option Symbols:
    79 
    80 ; caseless : Character case insensitive match
    81 ; multiline : Equivalent to Perl's /m option
    82 ; dotall : Equivalent to Perl's /s option
    83 ; extended : Ignore whitespace
    84 ; anchored : Anchor pattern match
    85 ; dollar-endonly : `$' metacharacter in the pattern matches only at the end of the subject string
    86 ; extra : Currently of very little use
    87 ; notbol : First character of the string is not the beginning of a line
    88 ; noteol : End of the string is not the end of a line
    89 ; ungreedy : Inverts the "greediness" of the quantifiers so that they are not greedy by default
    90 ; notempty : The empty string is not considered to be a valid match
    91 ; utf8 : UTF-8 encoded characters
    92 ; no-auto-capture : Disables the use of numbered capturing parentheses
    93 ; no-utf8-check : Skip valid UTF-8 sequence check
    94 ; auto-callout : Automatically inserts callout items (not defined here)
    95 ; partial : Partial match ok
    96 ; firstline : An unanchored pattern is required to match before or at the first newline
    97 ; dupnames : Names used to identify capturing subpatterns need not be unique
    98 ; newline-cr : Newline definition is `\r'
    99 ; newline-lf : Newline definition is `\n'
    100 ; newline-crlf : Newline definition is `\r\n'
    101 ; newline-anycrlf : Newline definition is any of `\r', `\n', or `\r\n'
    102 ; newline-any : Newline definition is any Unicode newline sequence
    103 ; bsr-anycrlf : `\R' escape sequence matches only CR, LF, or CRLF
    104 ; bsr-unicode : `\R' escape sequence matches only Unicode newline sequence
    105 
    106 ; dfa-shortest : Currently unused
    107 ; dfa-restart : Currently unused
     68Note that code that uses regular expressions heavily should always
     69use them in precompiled form, which is likely to be much faster than
     70passing strings to any of the regular-expression routines described
     71below.
    10872
    10973
     
    11478Returns {{#t}} if {{X}} is a precompiled regular expression,
    11579or {{#f}} otherwise.
    116 
    117 
    118 === regexp-optimize
    119 
    120  [procedure] (regexp-optimize RX)
    121  
    122 Perform available optimizations for the precompiled regular expression {{RX}}.
    123 Returns {{#t}} when optimization performed, and {{#f}} otherwise.
    12480
    12581
  • chicken/trunk/regex.import.scm

    r12920 r12929  
    3333   regex-chardef-table?
    3434   regexp
    35    regexp*
    3635   regexp-escape
    37    regexp-optimize
    3836   regexp?
    3937   string-match
Note: See TracChangeset for help on using the changeset viewer.