Skip to content

Commit

Permalink
🐛Fixed #14 issue with ascii char recognition
Browse files Browse the repository at this point in the history
  • Loading branch information
soaibsafi committed Nov 9, 2024
1 parent 2547069 commit 67f5f49
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion frontend/src/assets/ts/toolExecutor/limbooleExecutor.ts
Original file line number Diff line number Diff line change
Expand Up @@ -56,7 +56,7 @@ export const executeLimboole = async (
};

const findNonAscii = (str: string) => {
const regex = /[^\x20-\x7E]/g;
const regex = /[^\x00-\x7F]/g;
const match = regex.exec(str);
if (!match) return -1;
// find the line and column and the non-ascii character
Expand Down

0 comments on commit 67f5f49

Please sign in to comment.