You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
I have tested some formated sql scripts and after formated your regex not recognize some columns:
for example this is not recognized:
``quantity decimal(11, 2) unsigned NOT NULL DEFAULT '0.00',
because there is formated (11, 2) with space between number 2.
Your regex:
`decimal((?\d+),(?\d+))(?:\s+unsigned)?`
do nothing.
I temporary fixed by this line:
`decimal((?\d+),(?\s*\d+))(?:\s+unsigned)?`
Can you fix it in your code please to other columns type?
The text was updated successfully, but these errors were encountered:
I have tested some formated sql scripts and after formated your regex not recognize some columns:
for example this is not recognized:
``quantity
decimal(11, 2) unsigned NOT NULL DEFAULT '0.00',
because there is formated (11, 2) with space between number 2.
Your regex:
`decimal((?\d+),(?\d+))(?:\s+unsigned)?`
do nothing.
I temporary fixed by this line:
`decimal((?\d+),(?\s*\d+))(?:\s+unsigned)?`
Can you fix it in your code please to other columns type?
The text was updated successfully, but these errors were encountered: