e927757df62e62f5d45640ee76e4048703d8d419 |
|
09-Nov-2014 |
Serhiy Storchaka <storchaka@gmail.com> |
Issue #12728: Different Unicode characters having the same uppercase but different lowercase are now matched in case-insensitive regular expressions.
/external/python/cpython2/Lib/sre_compile.py
|
e9e54ae2228e195e046e6325de018374b3247d2d |
|
31-Oct-2014 |
Serhiy Storchaka <storchaka@gmail.com> |
Issue #17381: Fixed ranges handling in case-insensitive regular expressions.
/external/python/cpython2/Lib/sre_compile.py
|
c04fcd40bd8fd2c9e427faded617214f8ae18402 |
|
31-Oct-2014 |
Serhiy Storchaka <storchaka@gmail.com> |
Backported the optimization of compiling charsets in regular expressions (issue #19329). This is needed to apply the patch from issue #17381.
/external/python/cpython2/Lib/sre_compile.py
|
fdb73ed4863c31a3d807f9f75ef3d5d6f4d8d4e8 |
|
27-Oct-2013 |
Serhiy Storchaka <storchaka@gmail.com> |
Issue #19405: Fixed outdated comments in the _sre module.
/external/python/cpython2/Lib/sre_compile.py
|
22fb0dec30af4168c81744782a8bcc2453ac8055 |
|
24-Oct-2013 |
Serhiy Storchaka <storchaka@gmail.com> |
Issue #19327: Fixed the working of regular expressions with too big charset.
/external/python/cpython2/Lib/sre_compile.py
|
60bf0e4daa4a498d53c37dba93cf03dd0c1924e8 |
|
20-Sep-2013 |
Serhiy Storchaka <storchaka@gmail.com> |
Issue #18050: Fixed an incompatibility of the re module with Python 2.7.3 and older binaries.
/external/python/cpython2/Lib/sre_compile.py
|
83737c632c9d12dc74074fc4884091bdfd2b15f0 |
|
19-Aug-2013 |
Serhiy Storchaka <storchaka@gmail.com> |
Issue #2537: Remove breaked check which prevented valid regular expressions. Patch by Meador Inge. See also issue #18647.
/external/python/cpython2/Lib/sre_compile.py
|
06fbac5ea0aaa30020b87b7abe6a094d65bdcd89 |
|
04-Aug-2013 |
Serhiy Storchaka <storchaka@gmail.com> |
Issue #18647: Temporary disable the "nothing to repeat" check to make buildbots happy.
/external/python/cpython2/Lib/sre_compile.py
|
e18e05cce92182e7f852e2d1569904190b8a9a40 |
|
16-Feb-2013 |
Serhiy Storchaka <storchaka@gmail.com> |
Issue #13169: The maximal repetition number in a regular expression has been increased from 65534 to 2147483647 (on 32-bit platform) or 4294967294 (on 64-bit).
/external/python/cpython2/Lib/sre_compile.py
|
32e7aa6ab97ccb74eab84ed3f97944ecde3a0663 |
|
15-Oct-2008 |
Benjamin Peterson <benjamin@python.org> |
remove set compat cruft
/external/python/cpython2/Lib/sre_compile.py
|
4b798bdf8ab3a4a4b3b11ea60a8f0b1c54e43224 |
|
08-Apr-2008 |
Amaury Forgeot d'Arc <amauryfa@gmail.com> |
Issue2564: Prevent a hang in "import test.autotest", which runs the entire test suite as a side-effect of importing the module. - in test_capi, a thread tried to import other modules - re.compile() imported sre_parse again on every call.
/external/python/cpython2/Lib/sre_compile.py
|
ae04c3356ed2aec0e9e2c39096a3ccd05722575a |
|
03-Jan-2008 |
Guido van Rossum <guido@python.org> |
Issue #1700, reported by Nguyen Quan Son, fix by Fredruk Lundh: Regular Expression inline flags not handled correctly for some unicode characters. (Forward port from 2.5.2.)
/external/python/cpython2/Lib/sre_compile.py
|
e3b185f9667488695035983bbbaa84616e6149e2 |
|
06-Jul-2007 |
Neal Norwitz <nnorwitz@gmail.com> |
Fix typo in comment
/external/python/cpython2/Lib/sre_compile.py
|
c30faa812c507c94d744419bce7c497f1a283d95 |
|
02-Jun-2005 |
Andrew M. Kuchling <amk@amk.ca> |
[Bug #1177831] Fix generation of code for GROUPREF_EXISTS. Thanks to Andre Malo for the fix.
/external/python/cpython2/Lib/sre_compile.py
|
049ade2997aee8cd6564e05d29dbe0b390ebf27b |
|
28-Feb-2005 |
Raymond Hettinger <python@rcn.com> |
Complete the previous effort to factor out constant expressions and improve the speed of the if/elif/else blocks.
/external/python/cpython2/Lib/sre_compile.py
|
5e7d51b62cc86314987b833a2a800b9528e906d7 |
|
15-Oct-2004 |
Fredrik Lundh <fredrik@pythonware.com> |
make sure to check for this limit even if we're running with -O
/external/python/cpython2/Lib/sre_compile.py
|
7d9c6c7e8c1e381de7e96989c1332cf98d766f3a |
|
07-May-2004 |
Martin v. Löwis <martin@v.loewis.de> |
Fix _sre.CODESIZE on 64-bit machines in UCS-4 mode. Fixes #931848. Backported to 2.3.
/external/python/cpython2/Lib/sre_compile.py
|
d732c95eb0763bf4d5bb3f6e03707828185800bb |
|
27-Mar-2004 |
Raymond Hettinger <python@rcn.com> |
Revert 1.51 booleans so that sre will still run on old pythons.
/external/python/cpython2/Lib/sre_compile.py
|
29e383754e4a96b46d1bd9f72a49694cdb993850 |
|
26-Mar-2004 |
Raymond Hettinger <python@rcn.com> |
Remove unnecessary test. (Thanks Skip)
/external/python/cpython2/Lib/sre_compile.py
|
01c9f8c35f583338e3638906ceeef9d2f29a0254 |
|
26-Mar-2004 |
Raymond Hettinger <python@rcn.com> |
Simple optimizations: * pre-build a single identity function for the fixup function * pre-build membership tests in dictionaries instead of in-line tuples * assign len() to a local variable * assign append() methods to a local variable * use xrange() instead of range() * replace "x<<1" with "x+x"
/external/python/cpython2/Lib/sre_compile.py
|
bc503d1e90fac2baf8f3f115692c9ac940e9d5bb |
|
25-Mar-2004 |
Martin v. Löwis <martin@v.loewis.de> |
Use True/False instead of 0/1 for character classes.
/external/python/cpython2/Lib/sre_compile.py
|
ad3fc44ccb40f2ad33c0d09f5a2dfbd4feb442eb |
|
18-Oct-2003 |
Gustavo Niemeyer <gustavo@niemeyer.net> |
Implemented non-recursive SRE matching.
/external/python/cpython2/Lib/sre_compile.py
|
74902508dc395014dbdb9c2ed08263202e5d4e30 |
|
02-Jul-2003 |
Just van Rossum <just@letterror.com> |
Addendum to #764548: restore 2.1 compatibility.
/external/python/cpython2/Lib/sre_compile.py
|
12723baceab61f8812d68575c962696cc4e77fa1 |
|
02-Jul-2003 |
Just van Rossum <just@letterror.com> |
Fix and test for bug #764548: Use isinstance() instead of comparing types directly, to enable subclasses of str and unicode to be used as patterns. Blessed by /F.
/external/python/cpython2/Lib/sre_compile.py
|
78e2f06cc66178887ee0d6d243370efa241a675a |
|
19-Apr-2003 |
Martin v. Löwis <martin@v.loewis.de> |
Fully support 32-bit codes. Enable BIGCHARSET in UCS-4 builds.
/external/python/cpython2/Lib/sre_compile.py
|
41c99e7f96f7a0f192839801c568d8a80dcc7091 |
|
14-Apr-2003 |
Guido van Rossum <guido@python.org> |
SF patch #720991 by Gary Herron: A small fix for bug #545855 and Greg Chapman's addition of op code SRE_OP_MIN_REPEAT_ONE for eliminating recursion on simple uses of pattern '*?' on a long string.
/external/python/cpython2/Lib/sre_compile.py
|
577fb5a1db508444eed7bd78fbf76c1f64ed643b |
|
24-Feb-2003 |
Guido van Rossum <guido@python.org> |
Fix from SF patch #633359 by Greg Chapman for SF bug #610299: The problem is in sre_compile.py: the call to _compile_charset near the end of _compile_info forgets to pass in the flags, so that the info charset is not compiled with re.U. (The info charset is used when searching to find the first character at which a match could start; it is not generated for patterns beginning with a repeat like '\w{1}'.)
/external/python/cpython2/Lib/sre_compile.py
|
67c4cb1f13e0a8dbbe8d2447165f27b2ef8e48fd |
|
26-Sep-2002 |
Martin v. Löwis <martin@v.loewis.de> |
Disable big charsets in UCS-4 builds. Works around #599377. Will backport to 2.2
/external/python/cpython2/Lib/sre_compile.py
|
4fb7027ec00daa8c5f891888dedc1b387853c1e0 |
|
27-Jun-2002 |
Fredrik Lundh <fredrik@pythonware.com> |
made the code match the comments (1.5.2 compatibility)
/external/python/cpython2/Lib/sre_compile.py
|
f13eb55d59d80907c9f86574ddd23bce2cb41ff3 |
|
02-Jun-2002 |
Raymond Hettinger <python@rcn.com> |
Replace boolean test with is None.
/external/python/cpython2/Lib/sre_compile.py
|
b8f22749853cf79bfbe3709309e67d1a448f4cab |
|
04-Sep-2001 |
Fred Drake <fdrake@acm.org> |
Added docstrings by Neal Norwitz. This closes SF bug #450980.
/external/python/cpython2/Lib/sre_compile.py
|
87cc0c329e9a5181534a9ca9e283669986a32900 |
|
21-Jul-2001 |
Tim Peters <tim.peters@gmail.com> |
Whitespace normalization, plus: + test_quopri.py relied on significant trailing spaces. Fixed. + test_dircache.py (still) doesn't work on Windows (directory mtime on Windows doesn't work like it does on Unix).
/external/python/cpython2/Lib/sre_compile.py
|
3550dd30bb8cb880840a4f1f492a7f3e9207cab9 |
|
19-Jul-2001 |
Martin v. Löwis <martin@v.loewis.de> |
Patch #442512: put block indices in the right byte order on bigendian systems.
/external/python/cpython2/Lib/sre_compile.py
|
19af43d78a8bd85dc39ea62cc4bc130778cfc643 |
|
02-Jul-2001 |
Fredrik Lundh <fredrik@pythonware.com> |
added martin's BIGCHARSET patch to SRE 2.1.1. martin reports 2x speedups for certain unicode character ranges.
/external/python/cpython2/Lib/sre_compile.py
|
b25e1ad253a4d96aea31a7a3fb78522ea354f43a |
|
22-Mar-2001 |
Fredrik Lundh <fredrik@pythonware.com> |
sre 2.1b2 update: - take locale into account for word boundary anchors (#410271) - restored 2.0's *? behaviour (#233283, #408936 and others) - speed up re.sub/re.subn
/external/python/cpython2/Lib/sre_compile.py
|
f2989b22fff921b3394e1709a07f0119370b6d74 |
|
18-Feb-2001 |
Fredrik Lundh <fredrik@pythonware.com> |
- restored 1.5.2 compatibility (sorry, eric) - removed __all__ cruft from internal modules (sorry, skip) - don't assume ASCII for string escapes (sorry, per)
/external/python/cpython2/Lib/sre_compile.py
|
0de65807e6bdc5254f5a7e99b2f39adeea6b883b |
|
15-Feb-2001 |
Skip Montanaro <skip@pobox.com> |
bunch more __all__ lists also modified check_all function to suppress all warnings since they aren't relevant to what this test is doing (allows quiet checking of regsub, for instance)
/external/python/cpython2/Lib/sre_compile.py
|
2e24044f9db23c3d2195a129f53f2deb73a4e4af |
|
15-Jan-2001 |
Fredrik Lundh <fredrik@pythonware.com> |
from the really-stupid-bug department: uppercase literals should match uppercase strings also when the IGNORECASE flag is set (bug #128899) (also added test cases for recently fixed bugs to the regression suite -- or in other words, check in re_tests.py too...)
/external/python/cpython2/Lib/sre_compile.py
|
b35ffc0417a0861ccf466c0503c4151725a0267a |
|
15-Jan-2001 |
Fredrik Lundh <fredrik@pythonware.com> |
added "magic" number to the _sre module, to avoid weird errors caused by compiler/engine mismatches
/external/python/cpython2/Lib/sre_compile.py
|
770617b23e286f1147f9480b5f625e88e7badd50 |
|
14-Jan-2001 |
Fredrik Lundh <fredrik@pythonware.com> |
SRE fixes for 2.1 alpha: -- added some more docstrings -- fixed typo in scanner class (#125531) -- the multiline flag (?m) should't affect the \Z operator (#127259) -- fixed non-greedy backtracking bug (#123769, #127259) -- added sre.DEBUG flag (currently dumps the parsed pattern structure) -- fixed a couple of glitches in groupdict (the #126587 memory leak had already been fixed by AMK)
/external/python/cpython2/Lib/sre_compile.py
|
13ac9926ac43d3bff39a08301696105208774b6e |
|
07-Oct-2000 |
Fredrik Lundh <fredrik@pythonware.com> |
Fixed too ambitious "nothing to repeat" check. Closes bug #114033.
/external/python/cpython2/Lib/sre_compile.py
|
7898c3e6852565046a9b8b063d35d66777bf5176 |
|
07-Aug-2000 |
Fredrik Lundh <fredrik@pythonware.com> |
-- reset marks if repeat_one tail doesn't match (this should fix Sjoerd's xmllib problem) -- added skip field to INFO header -- changed compiler to generate charset INFO header -- changed trace messages to support post-mortem analysis
/external/python/cpython2/Lib/sre_compile.py
|
e186983842f0b27606b141010513fa8e3d0cc5db |
|
02-Aug-2000 |
Fredrik Lundh <fredrik@pythonware.com> |
final 0.9.8 updates: -- added REPEAT_ONE operator -- added ANY_ALL operator (used to represent "(?s).")
/external/python/cpython2/Lib/sre_compile.py
|
2f2c67d7e5934bdf96835f3c4774388b3e654314 |
|
01-Aug-2000 |
Fredrik Lundh <fredrik@pythonware.com> |
-- fixed width calculations for alternations -- fixed literal check in branch operator (this broke test_tokenize, as reported by Mark Favas) -- added REPEAT_ONE operator (still not enabled, though) -- added some debugging stuff (maxlevel)
/external/python/cpython2/Lib/sre_compile.py
|
29c4ba9ada44d62988c62c85c8046985f10a1c85 |
|
01-Aug-2000 |
Fredrik Lundh <fredrik@pythonware.com> |
SRE 0.9.8: passes the entire test suite -- reverted REPEAT operator to use "repeat context" strategy (from 0.8.X), but done right this time. -- got rid of backtracking stack; use nested SRE_MATCH calls instead (should probably put it back again in 0.9.9 ;-) -- properly reset state in scanner mode -- don't use aggressive inlining by default
/external/python/cpython2/Lib/sre_compile.py
|
8a3ebf8ca87a7d2989148d7c218974ab4235ca5d |
|
23-Jul-2000 |
Fredrik Lundh <fredrik@pythonware.com> |
-- SRE 0.9.6 sync. this includes: + added "regs" attribute + fixed "pos" and "endpos" attributes + reset "lastindex" and "lastgroup" in scanner methods + removed (?P#id) syntax; the "lastindex" and "lastgroup" attributes are now always set + removed string module dependencies in sre_parse + better debugging support in sre_parse + various tweaks to build under 1.5.2
/external/python/cpython2/Lib/sre_compile.py
|
2855290b848a95c925cbf605d39044164a71d7e5 |
|
05-Jul-2000 |
Fredrik Lundh <fredrik@pythonware.com> |
maintenance release: - reorganized some code to get rid of -Wall and -W4 warnings - fixed default argument handling for sub/subn/split methods (reported by Peter Schneider-Kamp).
/external/python/cpython2/Lib/sre_compile.py
|
72b82ba16dea929b3fa9db5208b2353e8449c2d5 |
|
03-Jul-2000 |
Fredrik Lundh <fredrik@pythonware.com> |
- fixed grouping error bug - changed "group" operator to "groupref"
/external/python/cpython2/Lib/sre_compile.py
|
6f013982366154ce570f69b6117dbcc6b1d5d89a |
|
03-Jul-2000 |
Fredrik Lundh <fredrik@pythonware.com> |
- added lookbehind support (?<=pattern), (?<!pattern). the pattern must have a fixed width. - got rid of array-module dependencies; the match pro- gram is now stored inside the pattern object, rather than in an extra string buffer. - cleaned up a various of potential leaks, api abuses, and other minors in the engine module. - use mal's new isalnum macro, rather than my own work- around. - untabified test_sre.py. seems like I removed a couple of trailing spaces in the process...
/external/python/cpython2/Lib/sre_compile.py
|
c2301730b8e07ece0b7c4ff6b6b06a4895d370c7 |
|
03-Jul-2000 |
Fredrik Lundh <fredrik@pythonware.com> |
- experimental: added two new attributes to the match object: "lastgroup" is the name of the last matched capturing group, "lastindex" is the index of the same group. if no group was matched, both attributes are set to None. the (?P#) feature will be removed in the next relase.
/external/python/cpython2/Lib/sre_compile.py
|
7cafe4d7e466996d5fc32e871fe834e0e0c94282 |
|
02-Jul-2000 |
Fredrik Lundh <fredrik@pythonware.com> |
- actually enabled charset anchors in the engine (still not used by the code generator) - changed max repeat value in engine (to match earlier array fix) - added experimental "which part matched?" mechanism to sre; see http://hem.passagen.se/eff/2000_07_01_bot-archive.htm#416954 or python-dev for details.
/external/python/cpython2/Lib/sre_compile.py
|
3562f1176403653ebfbef6275d449ad42d1b843a |
|
02-Jul-2000 |
Fredrik Lundh <fredrik@pythonware.com> |
-- use charset bitmaps where appropriate. this gives a 5-10% speedup for some tests, including the python tokenizer. -- added support for an optional charset anchor to the engine (currently unused by the code generator). -- removed workaround for array module bug.
/external/python/cpython2/Lib/sre_compile.py
|
22d254652099e3a1f157543c7b1b37e3263e65c7 |
|
01-Jul-2000 |
Fredrik Lundh <fredrik@pythonware.com> |
today's SRE update: -- changed 1.6 to 2.0 in the file headers -- fixed ISALNUM macro for the unicode locale. this solution isn't perfect, but the best I can do with Python's current unicode database.
/external/python/cpython2/Lib/sre_compile.py
|
55a4f4a528b6eade932b01d7a0bee0a34fae1f6a |
|
01-Jul-2000 |
Fredrik Lundh <fredrik@pythonware.com> |
- fixed code generation error in multiline mode - fixed parser flag propagation (of all stupid bugs...)
/external/python/cpython2/Lib/sre_compile.py
|
4ccea94152599d7a80c01d5ebddb70f5abf3ce21 |
|
30-Jun-2000 |
Fredrik Lundh <fredrik@pythonware.com> |
- reverted to "\x is binary byte" - removed evil tabs from sre_parse and sre_compile
/external/python/cpython2/Lib/sre_compile.py
|
0640e1161f37fd3415e9efdbde1e293efb98978c |
|
30-Jun-2000 |
Fredrik Lundh <fredrik@pythonware.com> |
the mad patcher strikes again: -- added pickling support (only works if sre is imported) -- fixed wordsize problems in engine (instead of casting literals down to the character size, cast characters up to the literal size (same as the code word size). this prevents false hits when you're matching a unicode pattern against an 8-bit string. (unfortunately, this broke another test, but I think the test should be changed in this case; more on that on python-dev) -- added sre.purge function (unofficial, clears the cache)
/external/python/cpython2/Lib/sre_compile.py
|
43b3b49b5ab486295baef3a35cd8e836f735c065 |
|
30-Jun-2000 |
Fredrik Lundh <fredrik@pythonware.com> |
- fixed lookahead assertions (#10, #11, #12) - untabified sre_constants.py
/external/python/cpython2/Lib/sre_compile.py
|
90a07913229ada1bb3011cfa08a1e56bca31daaf |
|
30-Jun-2000 |
Fredrik Lundh <fredrik@pythonware.com> |
- pedantic: make sure "python -t" doesn't complain...
/external/python/cpython2/Lib/sre_compile.py
|
01016fe972a90eb57bafeb1f4a73f334c201c3c2 |
|
30-Jun-2000 |
Fredrik Lundh <fredrik@pythonware.com> |
- fixed split behaviour on empty matches - fixed compiler problems when using locale/unicode flags - fixed group/octal code parsing in sub/subn templates
/external/python/cpython2/Lib/sre_compile.py
|
29c08beab08ae3e8b9686a119f5cf0afe99ed918 |
|
30-Jun-2000 |
Fredrik Lundh <fredrik@pythonware.com> |
still trying to figure out how to fix the remaining group reset problem. in the meantime, I added some optimizations: - added "inline" directive to LOCAL (this assumes that AC_C_INLINE does what it's supposed to do). to compile SRE on a non-unix platform that doesn't support inline, you have to add a "#define inline" somewhere... - added code to generate a SRE_OP_INFO primitive - added code to do fast prefix search (enabled by the USE_FAST_SEARCH define; default is on, in this release)
/external/python/cpython2/Lib/sre_compile.py
|
8094611eb8abe9f9d1e1498f36324eebabaa0a09 |
|
29-Jun-2000 |
Fredrik Lundh <fredrik@pythonware.com> |
- fixed another split problem (those semantics are weird...) - got rid of $Id$'s (for the moment, at least). in other words, there should be no more "empty" checkins. - internal: some minor cleanups.
/external/python/cpython2/Lib/sre_compile.py
|
be2211e9401a0be96915c473ef99041beb5a4992 |
|
29-Jun-2000 |
Fredrik Lundh <fredrik@pythonware.com> |
- fixed split (test_sre still complains about split, but that's caused by the group reset bug, not split itself) - added more mark slots (should be dynamically allocated, but 100 is better than 32. and checking for the upper limit is better than overwriting the memory ;-) - internal: renamed the cursor helper class - internal: removed some bloat from sre_compile
/external/python/cpython2/Lib/sre_compile.py
|
6c68dc7b1afb8f634604435dd0fc2442c8e93e0d |
|
29-Jun-2000 |
Fredrik Lundh <fredrik@pythonware.com> |
- removed "alpha only" licensing restriction - removed some hacks that worked around 1.6 alpha bugs - removed bogus test code from sre_parse
/external/python/cpython2/Lib/sre_compile.py
|
436c3d58a2570f3b599e59b4071f944f774ec441 |
|
29-Jun-2000 |
Fredrik Lundh <fredrik@pythonware.com> |
towards 1.6b1
/external/python/cpython2/Lib/sre_compile.py
|
b1aa19515ffdb84c6633ee0344196fd8bd50ade0 |
|
01-Jun-2000 |
Jeremy Hylton <jeremy@alum.mit.edu> |
Fredrik Lundh: here's the 96.6% version of SRE
/external/python/cpython2/Lib/sre_compile.py
|
b81e70ebdb28246e427249d386518bc03d08c959 |
|
10-Apr-2000 |
Guido van Rossum <guido@python.org> |
Fredrik Lundh: new snapshot. Mostly reindented. This one should work with unicode expressions, and compile a bit more silently.
/external/python/cpython2/Lib/sre_compile.py
|
e3ba931aa439fdfe69f1c1c750ce06427f5f607b |
|
02-Apr-2000 |
Andrew M. Kuchling <amk@amk.ca> |
This patch looks large, but it just deletes the ^M characters and untabifies the files. No actual code changes were made.
/external/python/cpython2/Lib/sre_compile.py
|
7627c0de6968471996ce05aab200115d56efa1d5 |
|
31-Mar-2000 |
Guido van Rossum <guido@python.org> |
Added Fredrik Lundh's sre module and its supporting cast. NOTE: THIS IS VERY ROUGH ALPHA CODE!
/external/python/cpython2/Lib/sre_compile.py
|