Commit fccb968
Fix @mention regex to ignore email addresses in prompts
Tighten context-pattern regex to require the first character after @
to be /, ~, or . so only valid path references are captured. Previously,
text like user@example.com would extract the domain as a context path,
causing a URISyntaxException.
Fixes #379
🤖 Generated with [eca](https://eca.dev)
Co-Authored-By: eca <git@eca.dev>1 parent 7126ba9 commit fccb968
File tree
3 files changed
+6
-1
lines changed- src/eca/features
- test/eca/features
3 files changed
+6
-1
lines changed| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
6 | 6 | | |
7 | 7 | | |
8 | 8 | | |
| 9 | + | |
9 | 10 | | |
10 | 11 | | |
11 | 12 | | |
| |||
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
126 | 126 | | |
127 | 127 | | |
128 | 128 | | |
129 | | - | |
| 129 | + | |
130 | 130 | | |
131 | 131 | | |
132 | 132 | | |
| |||
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
343 | 343 | | |
344 | 344 | | |
345 | 345 | | |
| 346 | + | |
| 347 | + | |
| 348 | + | |
| 349 | + | |
346 | 350 | | |
347 | 351 | | |
348 | 352 | | |
| |||
0 commit comments