module documentation
pygments.regexopt ~~~~~~~~~~~~~~~~~ An algorithm that generates optimized regexes for matching long lists of literal strings. :copyright: Copyright 2006-2022 by the Pygments team, see AUTHORS. :license: BSD, see LICENSE for details.
Function | make |
Undocumented |
Function | regex |
Return a compiled regex that matches any string in the given list. |
Function | regex |
Return a regex that matches any string in the sorted list of strings. |
Constant | CS |
Undocumented |
Constant | FIRST |
Undocumented |