Skip to content

Commit

Permalink
try: fallback to previous impl
Browse files Browse the repository at this point in the history
Tests are still passing
  • Loading branch information
jeertmans committed Feb 16, 2024
1 parent c991817 commit 49df2d0
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion logos-codegen/src/graph/regex.rs
Original file line number Diff line number Diff line change
Expand Up @@ -178,7 +178,7 @@ fn is_one_ascii(class: &ClassUnicode) -> bool {
let start = range.start() as u32;
let end = range.end() as u32;

start < 128 && end < 128
start < 128 && (end < 128 || end == 0x0010_FFFF)
}

#[cfg(test)]
Expand Down

0 comments on commit 49df2d0

Please sign in to comment.