mirror of
https://github.com/ksherlock/mpw-shell.git
synced 2024-06-16 16:29:30 +00:00
Updated Regular Expressions (markdown)
parent
aa63788ea2
commit
80f4714603
|
@ -1,3 +1,9 @@
|
|||
Evaluate and If commands.
|
||||
|
||||
expression =~ /regex/ equivalent to regex
|
||||
|
||||
expression !~ /regex/ not equivalent to regex
|
||||
|
||||
| MPW | Standard | Comments |
|
||||
| --------------- | --------------- | --------------- |
|
||||
| ? | . | Match any character (except return) |
|
||||
|
@ -13,6 +19,3 @@
|
|||
| (...)®*n* | | Capture the expression in variable @*n* (where *n* is 0-9) |
|
||||
| ®*n* | | Match previously captured variable. |
|
||||
|
||||
/ regular expression / - search forward
|
||||
|
||||
\ regular expression \ - search backward
|
||||
|
|
Loading…
Reference in New Issue
Block a user