~ubuntu-branches/ubuntu/jaunty/gimp/jaunty-security

« back to all changes in this revision

Viewing changes to plug-ins/script-fu/re/README.1st

  • Committer: Bazaar Package Importer
  • Author(s): Sebastien Bacher
  • Date: 2008-10-06 13:30:41 UTC
  • mto: This revision was merged to the branch mainline in revision 35.
  • Revision ID: james.westby@ubuntu.com-20081006133041-3panbkcanaymfsmp
Tags: upstream-2.6.0
ImportĀ upstreamĀ versionĀ 2.6.0

Show diffs side-by-side

added added

removed removed

Lines of Context:
1
 
             TinyScheme RE (Regular Expressions) extension
2
 
             ---------------------------------------------
3
 
Version 1.2, August 2002
4
 
 
5
 
The bulk of this directory is the regular expression library written
6
 
by Henry Spencer (see file README and COPYRIGHT).
7
 
 
8
 
Two files were added to produce the TinyScheme regular expression
9
 
library, re.so: re.c and re.makefile. The included re.makefile was contributed
10
 
initially by Stephen Gildea and should be adaptable to all Unix systems.
11
 
 
12
 
The makefile produces a DLL named re.so. For now, it contains just
13
 
a single foreign function (re-match <pattern> <string>). It returns
14
 
true (string matches pattern) or false. If it is called with an
15
 
extra parameter, which should be a vector, overwrites as many elements
16
 
of the vector as needed with the strings that matched the corresponding
17
 
parenthesized subexpressions inside <pattern>.
18
 
 
19
 
It is not fully tested, so use with caution.
20
 
 
21
 
Load the extension from inside TinyScheme using
22
 
(load-extension "re/re")
23
 
assuming that re.so is in the directory "re".
24
 
 
25
 
Load "re.scm" if you wish to use v.1.1 behavior.
26
 
 
27
 
dsouflis@acm.org