Skip to content

Commit

Permalink
oops, possible to have have a space
Browse files Browse the repository at this point in the history
  • Loading branch information
jsumners-nr committed Nov 11, 2024
1 parent 56c5953 commit 5279da9
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion lib/db/query-parsers/sql.js
Original file line number Diff line number Diff line change
Expand Up @@ -14,7 +14,7 @@ const stringify = require('json-stringify-safe')
*
* @type {RegExp}
*/
const selectSubquery = /from\s+?\((?<subquery>select.*?)\)(?:\s+?)?/gi
const selectSubquery = /from\s*?\((?<subquery>select.*?)\)(?:\s+?)?/gi

/**
* Parses a SQL statement into the parts we want to report as metadata in
Expand Down

0 comments on commit 5279da9

Please sign in to comment.