mirror of
https://github.com/tldr-pages/tldr.git
synced 2025-09-10 13:33:43 +02:00
exrex: add short options (#17347)
This commit is contained in:
parent
172c039a13
commit
18131e57bd
1 changed files with 5 additions and 5 deletions
|
@ -10,23 +10,23 @@
|
|||
|
||||
- Generate a random string that matches a `regex`:
|
||||
|
||||
`exrex --random '{{regex}}'`
|
||||
`exrex {{[-r|--random]}} '{{regex}}'`
|
||||
|
||||
- Generate at most 100 strings that match a `regex`:
|
||||
|
||||
`exrex --max-number {{100}} '{{regex}}'`
|
||||
`exrex {{[-m|--max-number]}} {{100}} '{{regex}}'`
|
||||
|
||||
- Generate all possible strings that match a `regex`, joined by a custom delimiter string:
|
||||
|
||||
`exrex --delimiter "{{, }}" '{{regex}}'`
|
||||
`exrex {{[-d|--delimiter]}} "{{, }}" '{{regex}}'`
|
||||
|
||||
- Print count of all possible strings that match a `regex`:
|
||||
|
||||
`exrex --count '{{regex}}'`
|
||||
`exrex {{[-c|--count]}} '{{regex}}'`
|
||||
|
||||
- Simplify a `regex`:
|
||||
|
||||
`exrex --simplify '{{ab|ac}}'`
|
||||
`exrex {{[-s|--simplify]}} '{{ab|ac}}'`
|
||||
|
||||
- Print eyes:
|
||||
|
||||
|
|
Loading…
Add table
Reference in a new issue