Commit 612124c
committed
fix(code-quality): drop regex lookbehind that Lucee's ORO engine rejects
Lucee routes to its ORO fallback, which throws
"Sequence (?<...) not recognized" — surfaced by a live ERROR: run
at $analyze. The debug-bar CodeComplexity.cfc carried the same latent pattern.
Both now mask (so URL strings cannot be eaten) and strip line comments
with a plain — valid in ORO, Java, and RustCFML engines. Verified
on Lucee 7 against a sample with URLs, tag comments, block comments and code.
Signed-off-by: Peter Amiri <peter@alurium.com>1 parent 7a9f397 commit 612124c
2 files changed
Lines changed: 12 additions & 2 deletions
File tree
- cli/lucli/services/coverage
- vendor/wheels/wheelstest/system
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
37 | 37 | | |
38 | 38 | | |
39 | 39 | | |
40 | | - | |
| 40 | + | |
| 41 | + | |
| 42 | + | |
| 43 | + | |
| 44 | + | |
41 | 45 | | |
42 | 46 | | |
43 | 47 | | |
| |||
183 | 187 | | |
184 | 188 | | |
185 | 189 | | |
| 190 | + | |
186 | 191 | | |
187 | 192 | | |
188 | 193 | | |
| |||
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
37 | 37 | | |
38 | 38 | | |
39 | 39 | | |
40 | | - | |
| 40 | + | |
| 41 | + | |
| 42 | + | |
| 43 | + | |
| 44 | + | |
41 | 45 | | |
42 | 46 | | |
43 | 47 | | |
| |||
114 | 118 | | |
115 | 119 | | |
116 | 120 | | |
| 121 | + | |
117 | 122 | | |
118 | 123 | | |
119 | 124 | | |
| |||
0 commit comments