Open khchen opened 2 years ago
This re module is based on a modified pike vm and have following features:
Example:
print(re.match('\\d', 'a1b2c3d4')) print(re.match('\\d', 'a1b2c3d4', re.G)) print(re.test('[😀-😆]', '😁')) print(re.test('[😀-😆]', '👻')) print(re.split('\\d', 'a1b2c3d'))
Output:
["1"] ["1", "2", "3", "4"] true false ["a", "b", "c", "d"]
This re module is based on a modified pike vm and have following features:
Example:
Output: