- Sponsor
-
Notifications
You must be signed in to change notification settings - Fork 84
Custom regex scopes
Tommy Pensyl edited this page May 27, 2024
·
6 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.