Skip to content

Commit

Permalink
Update indexHelper.js
Browse files Browse the repository at this point in the history
  • Loading branch information
bigorn0 authored Jul 4, 2024
1 parent 3d38d83 commit 318dd74
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion reverse_engineering/helpers/indexHelper.js
Original file line number Diff line number Diff line change
@@ -1,7 +1,7 @@
const regexConfig = require('./teradataRegexConfig');

const cleanKeyName = (name = '') => {
return name.replace(/^("|,|\s+)+$/gim, '');
return name.replace(/^("|,|\s+)+|("|,|\s+)+$/gim, '');
};
const parseIndexKeys = statement => {
const mathResult = statement.match(regexConfig.indexKeyName);
Expand Down

0 comments on commit 318dd74

Please sign in to comment.