Skip to content

Commit da763b2

Browse files
Merge pull request #343 from guzman-raphael/abstract-instantiation
Update regex to be comparible to dj-python equivalent
2 parents 30d91d7 + a49cd58 commit da763b2

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)