orang regex create
Creates regular expression pattern.
Synopsis
orang regex create <PATTERN|PATH>
-E, --ends-with
-e, --equals
-n, --explicit-capture
-f, --from-file
-h, --help
-i, --ignore-case
-x, --ignore-pattern-whitespace
-L, --list
-l, --literal
-m, --multiline
--separator
-s, --singleline
-S, --starts-with
-v, --verbosity <VERBOSITY>
-W, --whole-line
-w, --whole-word
Arguments
<PATTERN|PATH>
Options
-E, --ends-with
Pattern should match from the end of the input string.
-e, --equals
Pattern should match whole input string.
-n, --explicit-capture
Do not capture unnamed groups.
-f, --from-file
Interpret argument value as path to a file whose content will be used as an input.
-h, --help
Show command line help.
-i, --ignore-case
Use case-insensitive matching.
-x, --ignore-pattern-whitespace
Exclude unescaped white-space from the pattern and enable comments after '#' sign.
-L, --list
Interpret pattern as a list of pattern any of which has to be matched. Separator is either comma or newline if the patter is loaded from a file.
-l, --literal
Text should be treated as a literal expression not as a regular expression.
-m, --multiline
^ and $ match beginning and end of each line (instead of beginning and end of the input string).
--separator
String that separates each value in a list. Default value is comma or newline if the list is loaded from a file.
-s, --singleline
Period matches every character (instead of every character except \n.
-S, --starts-with
Pattern should match from the beginning of the input string.
-v, --verbosity <VERBOSITY>
The amount of information to display in the log.
<VERBOSITY>: q[uiet]
, m[inimal]
, n[ormal]
, d[etailed]
, di[agnostic]
.
-W, --whole-line
Pattern should match whole line.
-w, --whole-word
Pattern should match whole word.