File tree Expand file tree Collapse file tree 1 file changed +3
-3
lines changed Expand file tree Collapse file tree 1 file changed +3
-3
lines changed Original file line number Diff line number Diff line change @@ -211,17 +211,17 @@ class QueryDoc extends QLDoc {
211
211
212
212
/** Gets the @name for the query */
213
213
string getQueryName ( ) {
214
- result = this .getContents ( ) .regexpCapture ( "(?s).*@name ([\\w-\\s]+ )(?=\\n).*" , 1 )
214
+ result = this .getContents ( ) .regexpCapture ( "(?s).*@name (.+? )(?=\\n).*" , 1 )
215
215
}
216
216
217
217
/** Gets the id part (without language) of the @id */
218
218
string getQueryId ( ) {
219
- result = this .getContents ( ) .regexpCapture ( "(?s).*@id (\\w+)/([\\w\\-]+)\\s.*" , 2 )
219
+ result = this .getContents ( ) .regexpCapture ( "(?s).*@id (\\w+)/([\\w\\-/ ]+)\\s.*" , 2 )
220
220
}
221
221
222
222
/** Gets the language of the @id */
223
223
string getQueryLanguage ( ) {
224
- result = this .getContents ( ) .regexpCapture ( "(?s).*@id (\\w+)/([\\w\\-]+)\\s.*" , 1 )
224
+ result = this .getContents ( ) .regexpCapture ( "(?s).*@id (\\w+)/([\\w\\-/ ]+)\\s.*" , 1 )
225
225
}
226
226
}
227
227
You can’t perform that action at this time.
0 commit comments