regex-rs 0.2.4

Creator: bradpython12

Last updated:

0 purchases

regex-rs 0.2.4 Image
regex-rs 0.2.4 Images

Languages

Categories

Add to Cart

Description:

regexrs 0.2.4

regex-rs
Python bindings for the rust regex crate
Usage
from regex_rs import Regex

re = Regex(r"\d+")
for number_match in re.find_iter("1 2 34 123"):
# number_match: regex_rs.Match
print(number_match)
# 1
# 2
# 34
# 123

Available methods

Regex.find
Regex.find_iter
Regex.captures
Regex.captures_iter
Regex.split
Regex.replace

Note
These bindings are missing a significant portion of the rust regex crate.
If you see a struct or method that you would like added, feel free to
open an issue for it.

License

For personal and professional use. You cannot resell or redistribute these repositories in their original state.

Customer Reviews

There are no reviews.