Skip to content

Commit

Permalink
Support space in charset
Browse files Browse the repository at this point in the history
  • Loading branch information
DavyLandman committed Jul 16, 2024
1 parent 0b39033 commit 47c7ac9
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/org/rascalmpl/library/Prelude.java
Original file line number Diff line number Diff line change
Expand Up @@ -3070,7 +3070,7 @@ public IString trim(IString s) {
}

public IString squeeze(IString src, IString charSet) {
if (charSet.getValue().isBlank()) {
if (charSet.getValue().isEmpty()) {
return src;
}
final Pattern isCharset = Pattern.compile("[" + charSet.getValue() + "]", Pattern.UNICODE_CHARACTER_CLASS);
Expand Down

0 comments on commit 47c7ac9

Please sign in to comment.