Skip to content

Commit a49cd58

Browse files
Update regex to be comparible to dj-python equivalent.
1 parent a46653d commit a49cd58

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

+dj/+internal/Header.m

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -93,7 +93,7 @@
9393
attrs.sqlType{i} = attrs.type{i};
9494
attrs.sqlComment{i} = attrs.comment{i};
9595
special = regexp(attrs.comment{i}, ...
96-
'^:(?<type>[^: ,()]+):(?<comment>.*)', 'names');
96+
'^:(?<type>[^:]+):(?<comment>.*)', 'names');
9797
if ~isempty(special)
9898
attrs.type{i} = special.type;
9999
attrs.comment{i} = special.comment;

0 commit comments

Comments
 (0)