Doesn't match empty label references surrounded in quotes

parent 1167ef40
...@@ -62,7 +62,7 @@ class Label < ActiveRecord::Base ...@@ -62,7 +62,7 @@ class Label < ActiveRecord::Base
(?<label_id>\d+(?!\S\w)\b) | # Integer-based label ID, or (?<label_id>\d+(?!\S\w)\b) | # Integer-based label ID, or
(?<label_name> (?<label_name>
[A-Za-z0-9_\-\?\.&]+ | # String-based single-word label title, or [A-Za-z0-9_\-\?\.&]+ | # String-based single-word label title, or
"([^"]*)" # String-based multi-word label surrounded in quotes "([^"]+)" # String-based multi-word label surrounded in quotes
) )
) )
}x }x
......
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment