Title: Redo sre port for regular expression support
Type: Severity: normal
Components: Versions: Jython 2.7
Status: open Resolution:
Dependencies: Superseder:
Assigned To: Nosy List: zyasoft
Priority: normal Keywords:

Created on 2015-10-07.23:04:06 by zyasoft, last changed 2015-10-07.23:04:06 by zyasoft.

msg10325 (view) Author: Jim Baker (zyasoft) Date: 2015-10-07.23:04:06
CPython and Jython both share the same implementation of the sre regex engine, which the re module uses by compiling to sre bytecodes.

Our current port of sre dates back to CPython 2.1, then subsequently updated. However, there are enough subtle differences - missing sre bytecodes, unimplemented optimzations for unicode, direct use of the Java stack, and for complex REs, divergent performance - that we should revisit.

Also, this will be a good opportunity to stop expanding unicode into codepoint arrays.
Date User Action Args
2015-10-07 23:04:06zyasoftcreate