summaryrefslogtreecommitdiff
path: root/NEWS
blob: 6152ff9acd3f52f2d0444220f02c9238ee2bf625 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
74
75
76
77
78
79
80
81
82
83
84
85
86
87
88
89
90
91
92
93
94
95
96
97
98
99
100
101
102
103
104
105
106
107
108
109
110
111
112
113
114
115
116
117
118
119
120
121
122
2008-08-04  Release 2.4.0

  * All functions receiving string-type regex accept a compiled regex too.

  * Added binding of the Oniguruma library.


2008-05-31  Release 2.3.0

  * Added methods: find and match.


2007-12-29  Release 2.2.2

  * Makefiles fixed.


2007-10-25  Release 2.2.1

  * Added new PCRE constants up to version 7.4.

  * 1 bugfix.


2007-06-19  Release 2.2.0

  * gsub API extension: allow the 4-th argument to be a function.

  * Added functions: maketables (PCRE).

  * Improved algorithm for global searches (PCRE; retry after empty match).

  * cflags may be specified by a string (PCRE).

  * Bugfixes.


2007-02-13  Release 2.1.0

  * Improved error handling.

  * A minor change in API.


2007-01-30  Release 2.0.2

  * 3 bugfixes.

  * Corrections in the Reference Manual.


2007-01-12  Release 2.0.1

  * Bugfix in memory deallocation.


2007-01-05  Release 2.0

  * Added functions: match, find, gmatch, gsub, split, config, plainfind.

  * Added methods: dfa_exec.

  * Removed methods: gmatch.

  * Renamed functions:
      newPCRE, newPOSIX     --> new.
      flagsPCRE, flagsPOSIX --> flags.
      versionPCRE           --> version.

  * Renamed methods: match --> tfind.

  * Added test suite.

  * Added reference manual.


2004-12-19  Release 1.19

  * Added support for PCRE "named subpatterns" (thanks to Nick Gammon).

  * Several minor improvements.


2004-08-25  Release 1.18

  * New lua function 'r:exec'.

  * New lua function 'r:__tostring'.

  * A table returned by r:match() as its 3rd result has no "n" index
    set anymore. Use table.getn instead.

  * Fixed the bug preventing compilation with the "basic" POSIX
    regexp library.

  * Makefile improved.

  * Added file gsub.lua containing function 'generic_gsub'.


2004-07-16  Release 17
  
  * New lua functions 'flagsPOSIX', 'flagsPCRE', 'versionPCRE'.
  
  * Lua functions 'newPCRE' and 'newPOSIX' accept an optional
    2nd argument ("compilation flags").
  
  * Lua function 'newPCRE' accepts an optional 3rd argument
    ("locale").
  
  * Lua function 'r:match' accepts optional 2nd and 3rd
    arguments ("startoffset" and "execution flags").
  
  * Lua function 'r:gmatch' accepts an optional 2nd argument
    ("execution flags").
  
  * If a user-defined function passed to r:gmatch() as its
    2nd parameter returns true value, then r:gmatch() returns.
  
  * The table of substring matches contains false in the positions
    correspondent to non-matched subpatterns.