Skip to content

Commit

Permalink
added merge regex
Browse files Browse the repository at this point in the history
  • Loading branch information
agoteti committed Feb 20, 2024
1 parent 6827b88 commit 4d4771c
Show file tree
Hide file tree
Showing 3 changed files with 3 additions and 3 deletions.
2 changes: 1 addition & 1 deletion src/main/resources/oracle-to-postgres-javarules.json
Original file line number Diff line number Diff line change
Expand Up @@ -86,7 +86,7 @@
"complexity": "major",
"rule_type": "sql",
"search": {
"pattern": "\\b(^SELECT|FROM)\\b|\\b(^INSERT|INTO)\\b|\\b(^DELETE|FROM)\\b|\\b(^UPDATE|SET)\\b|\\b(^CREATE|TABLE)\\b|\\b(^DROP|TABLE)\\b$/m"
"pattern": "\\b(^SELECT|FROM)\\b|\\b(^MERGE|USING)\\b|\\b(^INSERT|INTO)\\b|\\b(^DELETE|FROM)\\b|\\b(^UPDATE|SET)\\b|\\b(^CREATE|TABLE)\\b|\\b(^DROP|TABLE)\\b$/m"
},
"recommendation": 1000
}
Expand Down
2 changes: 1 addition & 1 deletion src/main/resources/oracle-to-postgres-properties.json
Original file line number Diff line number Diff line change
Expand Up @@ -9,7 +9,7 @@
"complexity": "major",
"rule_type": "sql",
"search": {
"pattern": "\\b(^SELECT|FROM)\\b|\\b(^INSERT|INTO)\\b|\\b(^DELETE|FROM)\\b|\\b(^UPDATE|SET)\\b|\\b(^CREATE|TABLE)\\b|\\b(^DROP|TABLE)\\b$/m"
"pattern": "\\b(^SELECT|FROM)\\b|\\b(^MERGE|USING)\\b|\\b(^INSERT|INTO)\\b|\\b(^DELETE|FROM)\\b|\\b(^UPDATE|SET)\\b|\\b(^CREATE|TABLE)\\b|\\b(^DROP|TABLE)\\b$/m"
},
"recommendation": 1000
},
Expand Down
2 changes: 1 addition & 1 deletion src/main/resources/oracle-to-postgres-xmlrules.json
Original file line number Diff line number Diff line change
Expand Up @@ -35,7 +35,7 @@
"complexity": "major",
"rule_type": "sql",
"search": {
"pattern": "\\b(^SELECT|FROM)\\b|\\b(^INSERT|INTO)\\b|\\b(^DELETE|FROM)\\b|\\b(^UPDATE|SET)\\b|\\b(^CREATE|TABLE)\\b|\\b(^DROP|TABLE)\\b$/m"
"pattern": "\\b(^SELECT|FROM)\\b|\\b(^MERGE|USING)\\b|\\b(^INSERT|INTO)\\b|\\b(^DELETE|FROM)\\b|\\b(^UPDATE|SET)\\b|\\b(^CREATE|TABLE)\\b|\\b(^DROP|TABLE)\\b$/m"
},
"recommendation": 1000
}
Expand Down

0 comments on commit 4d4771c

Please sign in to comment.