Update readme format
This commit is contained in:
parent
4f3be74602
commit
d80081c214
25
README.md
25
README.md
@ -122,13 +122,28 @@ applied = apply(
|
|||||||
This would create the output
|
This would create the output
|
||||||
|
|
||||||
```python
|
```python
|
||||||
[
|
['paprebup']
|
||||||
'paprebup'
|
|
||||||
]
|
|
||||||
```
|
```
|
||||||
|
|
||||||
Categories can also be combined with other characters to form groups. These need to be written inside curly brackets (`{` and `}`) and separated by a comma (`,`) or vertical line (`|`).
|
Categories can also be combined with other characters to form groups. These need to be written inside curly brackets (`{` and `}`) and separated by a comma (`,`) or vertical line (`|`).
|
||||||
|
|
||||||
`apply(['a>o/{#,C}_'], ['aha', 'pana'], categories={'C': 'mnptkswlj'})` results in `['oha', 'pona']`
|
```python
|
||||||
|
apply(['a>o/{#,C}_'], ['aha', 'pana'], categories={'C': 'mnptkswlj'})
|
||||||
|
```
|
||||||
|
|
||||||
Environments can also include several characters. `apply('o>u/cVc_nut#', 'coconut', categories={'V': 'aeiou'})` results in `'cocunut'`.
|
results in
|
||||||
|
```python
|
||||||
|
['oha', 'pona']
|
||||||
|
```
|
||||||
|
|
||||||
|
Environments can also include several characters.
|
||||||
|
|
||||||
|
```python
|
||||||
|
apply('o>u/cVc_nut#', 'coconut', categories={'V': 'aeiou'})
|
||||||
|
```
|
||||||
|
|
||||||
|
results in
|
||||||
|
|
||||||
|
```python
|
||||||
|
'cocunut'
|
||||||
|
```
|
||||||
Loading…
x
Reference in New Issue
Block a user