We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
!
!=
1 parent f936ec6 commit 42408bfCopy full SHA for 42408bf
packages/utils/src/regex.ts
@@ -32,7 +32,7 @@ export const DICE_COMPILED_PATTERNS = {
32
33
export const REMOVER_PATTERN = {
34
ASTERISK_ESCAPE: /\*/g,
35
- CRITICAL_BLOCK: /\{\*?c[fs]:[<>=!]+.+?\}/gim,
+ CRITICAL_BLOCK: /\{\*?c[fs]:([<>=]|!=)+.+?\}/gim,
36
EXP_REMOVER: /\{exp(.*?)\}/g,
37
SIGN_REMOVER: /([><=]|!=)+.*$/,
38
STAT_COMMENTS_REMOVER: /%%.*%%/,
0 commit comments