We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
1 parent ef89cb8 commit a750ae7Copy full SHA for a750ae7
pyobvector/schema/reflection.py
@@ -36,7 +36,7 @@ def _prep_regexes(self):
36
self._re_array_column = _re_compile(
37
r"\s*"
38
r"%(iq)s(?P<name>(?:%(esc_fq)s|[^%(fq)s])+)%(fq)s\s+"
39
- r"(?P<coltype_with_args>(?i:array)\s*\([^()]*(?:\([^()]*\)[^()]*)*\))"
+ r"(?P<coltype_with_args>(?i:(?<!\w)array(?!\w))\s*\([^()]*(?:\([^()]*\)[^()]*)*\))"
40
r"(?:\s+(?P<notnull>(?:NOT\s+)?NULL))?"
41
r"(?:\s+DEFAULT\s+(?P<default>(?:NULL|'(?:''|[^'])*'|\(.+?\)|[\-\w\.\(\)]+)))?"
42
r"(?:\s+COMMENT\s+'(?P<comment>(?:''|[^'])*)')?"
0 commit comments