-
-
Notifications
You must be signed in to change notification settings - Fork 91
Custom regex scopes
Tommy Pensyl edited this page May 27, 2024
·
8 revisions
Tip
Reference: https://www.cursorless.org/docs/user/customization/#experimental-cursorless-custom-regex-scopes
| Spoken form | Regex | Notes | Example |
|---|---|---|---|
| dotted | "[\w.]+" |
Matches dotted expression | one.two.three |
| pair math | "$[^$]*$" |
Matches latex inlined math expression. May fail to match if line has unmatched expressions. | $e^{\pi i}=-1$ |
| inside math | "[^$]*" |
Matches interior of a latex inlined math expression | e^{\pi i}=-1 |
Note
Feel free to add your own examples here.