Skip to content

Commit

Permalink
fix: Add as eol
Browse files Browse the repository at this point in the history
  • Loading branch information
KamiKillertO committed Nov 8, 2024
1 parent ae785c3 commit 0e1c06c
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/lib/util/regexp.ts
Original file line number Diff line number Diff line change
@@ -1,5 +1,5 @@
// eslint-disable-next-line quotes,no-useless-escape
const EOL = `(?:$|\`|"|'|,| |;|\\)|\\r|\\n|\}|<)`;
const EOL = `(?:$|\`|"|'|,| |;|\\)|\\r|\\n|\}|\\]|<)`;

const DOT_VALUE = '(?:\\.\\d+)'; // ['.x', '']
const ALPHA = `(?:1(:?\\.0+)?|0${DOT_VALUE}?|${DOT_VALUE})`; // ['0', '1', '0.x', '1.0', '.x']
Expand Down

0 comments on commit 0e1c06c

Please sign in to comment.