regex

Software Screenshot:
regex
Software Details:
Version: 2015.07.12 updated
Upload Date: 19 Jul 15
Developer: Matthew Barnett
Distribution Type: Freeware
Downloads: 18

Rating: 5.0/5 (Total Votes: 1)

The regex module is still in its incipient stages of development.

Nevertheless, it still outdoes and outclasses the default "re" module by a long shot.

While the original "re" module was focused on porting similar functionality found in Perl, regex also ports regular expression manipulation techniques found in other programming languages as well.

The core of the module is actually made of two parts, one for supporting original "re" features, and one for implementing the new regex functions.

Features:

  • Atomic grouping
  • Possessive quantifiers
  • Scoped flags
  • Inline flags
  • Repeated repeats
  • Definition of 'word' character
  • Groups in lookahead and lookbehind
  • Variable-length lookbehind
  • Correct handling of charset with ignore case flag
  • Unmatched group in replacement
  • 'Pathological' patterns
  • Flags argument for regex.split, regex.sub and regex.subn
  • 'Overlapped' argument for regex.findall and regex.finditer
  • Unicode escapes
  • Large patterns
  • Zero-width match with regex.finditer
  • Zero-width split with regex.split
  • Splititer
  • Subscripting for groups
  • Named groups
  • Group references
  • Named characters
  • Unicode codepoint properties, blocks and scripts
  • Posix character classes
  • Search anchor
  • Reverse searching
  • Multithreading
  • Matching a single grapheme
  • Branch reset
  • The scoped flags are: WORD, IGNORECASE, MULTILINE, DOTALL, VERBOSE.
  • The global flags are: ASCII, LOCALE, REVERSE, UNICODE, ZEROWIDTH.

Requirements:

  • Python 2.5 or higher

Similar Software

Pyret
Pyret

13 May 15

Mult
Mult

12 May 15

Theory
Theory

14 Apr 15

Comments to regex

Comments not found
Add Comment
Turn on images!