[NLUUG]   Welcome to ftp.nluug.nl
Current directory: /NetBSD/NetBSD-release-9/src/external/bsd/tre/dist/lib/
 
Current bandwidth utilization 1410.07 Mbit/s
Bandwidth utilization bar
Contents of README:
This code is structured roughly as follows:

xmalloc.c:
  - Wrappers for the malloc() functions, for error generation and
    memory leak checking purposes.

tre-mem.c:
  - A simple and efficient memory allocator.

tre-stack.c:
  - Implements a simple stack data structure.

tre-ast.c:
  - Abstract syntax tree (AST) definitions.

tre-parse.c:
  - Regexp parser.  Parses a POSIX regexp (with TRE extensions) into
    an abstract syntax tree (AST).

tre-compile.c:
  - Compiles ASTs to ready-to-use regex objects.  Comprised of two parts:
    * Routine to convert an AST to a tagged AST.  A tagged AST has
      appropriate minimized or maximized tags added to keep track of
      submatches.
    * Routine to convert tagged ASTs to tagged nondeterministic state
      machines (TNFAs) without epsilon transitions (transitions on
      empty strings).

tre-match-parallel.c:
  - Parallel TNFA matcher.
    * The matcher basically takes a string and a TNFA and finds the
      leftmost longest match and submatches in one pass over the input
      string.  Only the beginning of the input string is scanned until
      a leftmost match and longest match is found.
    * The matcher cannot handle back references, but the worst case
      time consumption is O(l) where l is the length of the input
      string.  The space consumption is constant.

tre-match-backtrack.c:
  - A traditional backtracking matcher.
    * Like the parallel matcher, takes a string and a TNFA and finds
      the leftmost longest match and submatches.  Portions of the
      input string may (and usually are) scanned multiple times.
    * Can handle back references.  The worst case time consumption,
      however, is O(k^l) where k is some constant and l is the length
      of the input string.  The worst case space consumption is O(l).

tre-match-approx.c:
  - Approximate parallel TNFA matcher.
    * Finds the leftmost and longest match and submatches in one pass
      over the input string.  The match may contain errors.  Each
      missing, substituted, or extra character in the match increases
      the cost of the match.  A maximum cost for the returned match
      can be given.  The cost of the found match is returned.
    * Cannot handle back references.  The space and time consumption
      bounds are the same as for the parallel exact matcher, but
      in general this matcher is slower than the exact matcher.

regcomp.c:
  - Implementation of the regcomp() family of functions as simple
    wrappers for tre_compile().

regexec.c:
  - Implementation of the regexec() family of functions.
    * The appropriate matcher is dispatched according to the
      features used in the compiled regex object.

regerror.c:
  - Implements the regerror() function.

Icon  Name                                                Last modified      Size  
[DIR] Parent Directory - [DIR] CVS/ 14-Feb-2024 19:47 - [   ] Makefile.am 17-Nov-2017 17:11 678 [TXT] README 25-Feb-2010 08:33 2.7K [TXT] regcomp.c 17-Nov-2017 17:16 4.0K [TXT] regerror.c 05-Nov-2011 23:39 2.2K [TXT] regex.h 25-Feb-2010 08:33 1.0K [TXT] regexec.c 19-Nov-2017 14:00 11K [TXT] tre-alloca.h 05-Nov-2011 23:39 348 [TXT] tre-ast.c 25-Feb-2010 08:33 5.0K [TXT] tre-ast.h 05-Nov-2011 23:39 3.4K [TXT] tre-compile.c 19-Nov-2017 13:35 59K [TXT] tre-compile.h 25-Feb-2010 08:33 445 [TXT] tre-config.h.in 25-Feb-2010 08:33 1.2K [TXT] tre-filter.c 17-Nov-2017 17:11 1.6K [TXT] tre-filter.h 17-Nov-2017 17:11 363 [TXT] tre-internal.h 17-Nov-2017 17:14 7.5K [TXT] tre-match-approx.c 21-Nov-2017 03:50 23K [TXT] tre-match-backtrack.c 19-Nov-2017 22:54 17K [TXT] tre-match-parallel.c 21-Nov-2017 03:50 13K [TXT] tre-match-utils.h 19-Nov-2017 14:22 6.6K [TXT] tre-mem.c 05-Nov-2011 23:39 3.1K [TXT] tre-mem.h 25-Feb-2010 08:33 1.8K [TXT] tre-parse.c 19-Nov-2017 13:13 44K [TXT] tre-parse.h 17-Nov-2017 17:14 1.4K [TXT] tre-stack.c 05-Nov-2011 23:39 2.3K [TXT] tre-stack.h 17-Nov-2017 17:14 2.3K [TXT] tre.h 21-Nov-2017 03:53 8.5K [TXT] xmalloc.c 05-Nov-2011 23:39 6.6K [TXT] xmalloc.h 25-Feb-2010 08:33 2.3K

NLUUG - Open Systems. Open Standards
Become a member and get discounts on conferences and more, see the NLUUG website!