Skip to content

Commit c9d1eae

Browse files
fix: treat Array Brackets [..] as syntax characters and surround by space when normalizing for comparison
Signed-off-by: Andreas Reichel <andreas@manticore-projects.com>
1 parent f65240f commit c9d1eae

1 file changed

Lines changed: 1 addition & 1 deletion

File tree

src/test/java/net/sf/jsqlparser/test/TestUtils.java

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -59,7 +59,7 @@ public class TestUtils {
5959

6060
// Assure SPACE around Syntax Characters
6161
private static final Pattern SQL_SANITATION_PATTERN2 =
62-
Pattern.compile("\\s*([!/,()=+\\-*|\\]<>:])\\s*", Pattern.MULTILINE);
62+
Pattern.compile("\\s*([!/,()=+\\-*|\\]<>:\\[\\]])\\s*", Pattern.MULTILINE);
6363

6464
/**
6565
* @param statement

0 commit comments

Comments
 (0)