Skip to content
Snippets Groups Projects
Commit 677bc443 authored by Douglas Barbosa Alexandre's avatar Douglas Barbosa Alexandre
Browse files

Doesn't match empty label references surrounded in quotes

parent 1167ef40
No related branches found
No related tags found
Loading
Loading
@@ -62,7 +62,7 @@ class Label < ActiveRecord::Base
Loading
@@ -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
Loading
Loading
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment