Changeset 17
- Timestamp:
- 02/28/07 10:43:44 (5 years ago)
- Location:
- tools/trunk/N3.tmbundle
- Files:
-
- 1 added
- 1 modified
-
info.plist (added)
-
Syntaxes/SPARQL.tmLanguage (modified) (10 diffs)
Legend:
- Unmodified
- Added
- Removed
-
tools/trunk/N3.tmbundle/Syntaxes/SPARQL.tmLanguage
r16 r17 58 58 <dict> 59 59 <key>match</key> 60 <string>\b(?i: GRAPH|FILTER|ORDER BY|UNION)\b</string>60 <string>\b(?i:WHERE|OPTIONAL|GRAPH|FILTER|ORDER BY|UNION)\b</string> 61 61 <key>name</key> 62 62 <string>keyword.other</string> … … 70 70 <string>keyword.other</string> 71 71 </dict> 72 <key>2</key>73 <dict>74 <key>name</key>75 <string>keyword.other</string>76 </dict>77 72 <key>3</key> 78 73 <dict> … … 97 92 </dict> 98 93 <key>match</key> 99 <string>^\s*((?i:SELECT( \s*DISTINCT)?))\s*((\s?\?[a-zA-z0-9_]+)+|(\*))\s*(.*)</string>94 <string>^\s*((?i:SELECT(?i:\s*DISTINCT)?))\s*((\s?\?[a-zA-z0-9_]+)+|(\*))\s*(.*)</string> 100 95 <key>name</key> 101 96 <string>keyword</string> … … 116 111 </dict> 117 112 <key>match</key> 118 <string>^\s*((?i:FROM) )\s+((\b[a-zA-Z0-9\:\-_]+\b)|(<[^ \>]*>))</string>113 <string>^\s*((?i:FROM)(?i:\s*NAMED)?)\s+((\b[a-zA-Z0-9\:\-_]+\b)|(<[^ \>]*>))</string> 119 114 <key>name</key> 120 115 <string>keyword</string> … … 122 117 <dict> 123 118 <key>begin</key> 124 <string> ((?i:WHERE))\s*{</string>119 <string>{</string> 125 120 <key>beginCaptures</key> 126 121 <dict> … … 140 135 <key>include</key> 141 136 <string>#filter</string> 137 </dict> 138 <dict> 139 <key>include</key> 140 <string>#optional</string> 141 </dict> 142 <dict> 143 <key>include</key> 144 <string>#optional</string> 142 145 </dict> 143 146 <dict> … … 211 214 </dict> 212 215 <key>end</key> 213 <string>;|(?=\ ])|(?=\.)</string>216 <string>;|(?=\.|\}|\]|FILTER|OPTIONAL)</string> 214 217 <key>name</key> 215 218 <string>predicateObject</string> … … 296 299 </dict> 297 300 <key>match</key> 298 <string>((?i:FILTER))\s* \(.*\)</string>301 <string>((?i:FILTER))\s*(regex)?\(.*\)</string> 299 302 <key>name</key> 300 303 <string>constraint</string> … … 344 347 </array> 345 348 </dict> 349 <key>optional</key> 350 <dict> 351 <key>captures</key> 352 <dict> 353 <key>1</key> 354 <dict> 355 <key>name</key> 356 <string>keyword.other</string> 357 </dict> 358 </dict> 359 <key>match</key> 360 <string>((?i:OPTIONAL))\s*(?=\{?)</string> 361 <key>name</key> 362 <string>optional</string> 363 </dict> 364 <key>optional</key> 365 <dict> 366 <key>captures</key> 367 <dict> 368 <key>1</key> 369 <dict> 370 <key>name</key> 371 <string>keyword.other</string> 372 </dict> 373 </dict> 374 <key>match</key> 375 <string>((?i:OPTIONAL))\s*(?=\{?)</string> 376 <key>name</key> 377 <string>optional</string> 378 </dict> 346 379 <key>qname</key> 347 380 <dict> … … 369 402 </dict> 370 403 <key>end</key> 371 <string>\. </string>404 <string>\.|(?=\}|FILTER|OPTIONAL)</string> 372 405 <key>name</key> 373 406 <string>meta.statement.n3</string>
