File tree 1 file changed +12
-11
lines changed
1 file changed +12
-11
lines changed Original file line number Diff line number Diff line change @@ -13,18 +13,19 @@ pip install regex-generate-py
13
13
``` python
14
14
>> > from regex_generate_py import generate
15
15
>> >
16
- >> > pattern = r " ( My| Your) name is an( ji| na| t) "
16
+ >> > pattern = r " ( My| Your| His | Her ) name is an( ji| na| t| imal ) with number \- ? [ 0-9 ] {2,6} "
17
17
>> > for i in range (10 ):
18
18
... print (generate(pattern))
19
19
...
20
- Your name is anna
21
- My name is ant
22
- Your name is anji
23
- Your name is anji
24
- My name is ant
25
- Your name is anna
26
- My name is ant
27
- My name is anji
28
- Your name is anji
29
- My name is ant
30
20
```
21
+ ``` text
22
+ My name is animal with number 194
23
+ His name is animal with number 24843
24
+ Her name is anna with number -79
25
+ My name is animal with number 60585
26
+ Your name is animal with number 71877
27
+ Your name is ant with number 41
28
+ Her name is anna with number -16320
29
+ My name is animal with number 353970
30
+ His name is anna with number 42
31
+ Your name is ant with number -040```
You can’t perform that action at this time.
0 commit comments