Skip to content

Commit ae11f10

Browse files
committed
update README
1 parent 291b687 commit ae11f10

File tree

1 file changed

+6
-2
lines changed

1 file changed

+6
-2
lines changed

README.md

Lines changed: 6 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -3,13 +3,17 @@
33
**Use regular expressions to generate text.**
44
This is the PyO3 Python binding of the Rust crate [regex_generate](https://github.com/CryptArchy/regex_generate).
55

6+
## Installation
7+
```bash
8+
pip install regex-generate-py
9+
```
10+
611
## Usage
712

813
```python
914
>>> from regex_generate_py import generate
10-
>>> # Use regular expressions to generate text
15+
>>>
1116
>>> pattern = r"(My|Your) name is an(ji|na|t)"
12-
>>>
1317
>>> for i in range(10):
1418
... print(generate(pattern))
1519
...

0 commit comments

Comments
 (0)