on master help sign in
Fix metacharacter table
commit8e218081bd190f8a72da5338af3e733fa2ffc869 authorMike Osborne <mike@urbit.org> dateWed 8 Jun 2022, 18:52 (4 years ago) parent1b9cf8a
1 file changed+14−13
content/grants/regex-library.md+14−13
content/grants/regex-library.md+14−13
@@ -41,19 +41,20 @@ Regular expression (hereafter “regex”) rules vary slightly across implementa
4141
4242Supported metacharacters should include:
4343
44−| Metacharacter | Description |
45−| `^` | Match starting position in string (line). |
46−| `.` | Match any single character. |
47−| `[ ]` | Match a single character within the brackets. |
48−| `[^ ]` | Match a single character not within the brackets. |
49−| `$` | Match ending position in string (line). |
50−| `( )` | Group series to single element. |
51−| `\n` | Match *n*th marked subexpression matched. |
52−| `*` | Match the preceding element zero or more times. |
53−| `{m,n}` | Match the preceding element at least _m_ and not more than _n_ times. |
54−| `?` | Match the preceding element zero or one time. |
55−| `+` | Match the preceding element one or more times. |
56−| `|` | Allow choice in matching expressions before or after the operator. |
44+| Metacharacter | Description |
45+| :-----------: | :-------------------------------------------------------------------- | ------------------------------------------------------------------ |
46+| `^` | Match starting position in string (line). |
47+| `.` | Match any single character. |
48+| `[ ]` | Match a single character within the brackets. |
49+| `[^ ]` | Match a single character not within the brackets. |
50+| `$` | Match ending position in string (line). |
51+| `( )` | Group series to single element. |
52+| `\n` | Match *n*th marked subexpression matched. |
53+| `*` | Match the preceding element zero or more times. |
54+| `{m,n}` | Match the preceding element at least _m_ and not more than _n_ times. |
55+| `?` | Match the preceding element zero or one time. |
56+| `+` | Match the preceding element one or more times. |
57+| ` | ` | Allow choice in matching expressions before or after the operator. |
5758
5859Supported character classes should include:
5960