Created Regular Expressions (markdown)

ksherlock 2022-11-02 10:36:30 -04:00
parent f0d17b8406
commit aa63788ea2

18
Regular-Expressions.md Normal file

@ -0,0 +1,18 @@
| MPW | Standard | Comments |
| --------------- | --------------- | --------------- |
| ? | . | Match any character (except return) |
| ≈ | .* | Match 0 or more characters |
| ∂ | \ | Escape special character |
| • | ^ | Match beginning of line |
| ∞ | $ | Match end of line |
| [...] | [...] | Sets. Case-insensitive unless {CaseSensitive} variable is set to 1. ∂ / \ ' " [ ] require ∂ escaping. - must be first to be a literal character. |
| [¬...] | [^...] | Set negation |
| + | + | Repeat 1 or more times |
| * | * | Repeat 0 or more times |
| «*n*» | {*n*} | Repeat *n* times (also «*n*,*n*», «,*n*», «*n*,») |
| (...)®*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