This shows you the differences between two versions of the page.
Both sides previous revision Previous revision | Next revision Both sides next revision | ||
Regular_Expressions [2018/07/09 00:02] peternlewis Keyboard Maestro version is irrelevent |
Regular_Expressions [2018/07/09 00:08] peternlewis Alternate Expressions |
||
---|---|---|---|
Line 68: | Line 68: | ||
^ Character ^ Alternate Expression\\ (Pre ICU 55) ^ Description ^ | ^ Character ^ Alternate Expression\\ (Pre ICU 55) ^ Description ^ | ||
| `\h` | `[^\S\r\n\f]` | Match a Horizontal White Space character.\\ They are characters with Unicode General Category of Space_Separator plus the ASCII tab (\u0009). | | | `\h` | `[^\S\r\n\f]` | Match a Horizontal White Space character.\\ They are characters with Unicode General Category of Space_Separator plus the ASCII tab (\u0009). | | ||
- | | `\H` | TBD | Match a non-Horizontal White Space character. | | + | | `\H` | `[\S\r\n\f]` | Match a non-Horizontal White Space character. | |
| `\k<name>` | TBD | Named Capture Back Reference. | | | `\k<name>` | TBD | Named Capture Back Reference. | | ||
| `\R` | `(?:\r?\n|\r)` | Match a new line character, or the sequence CR LF.\\ The new line characters are \u000a, \u000b, \u000c, \u000d, \u0085, \u2028, \u2029 | | | `\R` | `(?:\r?\n|\r)` | Match a new line character, or the sequence CR LF.\\ The new line characters are \u000a, \u000b, \u000c, \u000d, \u0085, \u2028, \u2029 | | ||
| `\v` | `[\n\r]` | Match a new line character.\\ The new line characters are \u000a, \u000b, \u000c, \u000d, \u0085, \u2028, \u2029.\\ Does not match the new line sequence CR LF. | | | `\v` | `[\n\r]` | Match a new line character.\\ The new line characters are \u000a, \u000b, \u000c, \u000d, \u0085, \u2028, \u2029.\\ Does not match the new line sequence CR LF. | | ||
- | | `\V` | TBD | Match a non-new line character. | | + | | `\V` | `[^\n\r]` | Match a non-new line character. | |
For an in-depth discussion, see this Forum topic: [RegEx for Horizontal Whitespace](https://forum.keyboardmaestro.com/t/wiki-update-regex-icu-55-metacharacters/10788). | For an in-depth discussion, see this Forum topic: [RegEx for Horizontal Whitespace](https://forum.keyboardmaestro.com/t/wiki-update-regex-icu-55-metacharacters/10788). | ||
- | |||
===== Examples ===== | ===== Examples ===== | ||