|
2173 | 2173 | </dict>
|
2174 | 2174 | <dict>
|
2175 | 2175 | <key>begin</key>
|
2176 |
| - <string>(?=(?><<-("?)((?:[_\w]+_|)HTML)\b\1))</string> |
| 2176 | + <string>(?=(?><<[-~]("?)((?:[_\w]+_|)HTML)\b\1))</string> |
2177 | 2177 | <key>comment</key>
|
2178 | 2178 | <string>Heredoc with embedded html</string>
|
2179 | 2179 | <key>end</key>
|
|
2184 | 2184 | <array>
|
2185 | 2185 | <dict>
|
2186 | 2186 | <key>begin</key>
|
2187 |
| - <string>(?><<-("?)((?:[_\w]+_|)HTML)\b\1)</string> |
| 2187 | + <string>(?><<[-~]("?)((?:[_\w]+_|)HTML)\b\1)</string> |
2188 | 2188 | <key>beginCaptures</key>
|
2189 | 2189 | <dict>
|
2190 | 2190 | <key>0</key>
|
|
2231 | 2231 | </dict>
|
2232 | 2232 | <dict>
|
2233 | 2233 | <key>begin</key>
|
2234 |
| - <string>(?=(?><<-("?)((?:[_\w]+_|)SQL)\b\1))</string> |
| 2234 | + <string>(?=(?><<[-~]("?)((?:[_\w]+_|)SQL)\b\1))</string> |
2235 | 2235 | <key>comment</key>
|
2236 | 2236 | <string>Heredoc with embedded sql</string>
|
2237 | 2237 | <key>end</key>
|
|
2242 | 2242 | <array>
|
2243 | 2243 | <dict>
|
2244 | 2244 | <key>begin</key>
|
2245 |
| - <string>(?><<-("?)((?:[_\w]+_|)SQL)\b\1)</string> |
| 2245 | + <string>(?><<[-~]("?)((?:[_\w]+_|)SQL)\b\1)</string> |
2246 | 2246 | <key>beginCaptures</key>
|
2247 | 2247 | <dict>
|
2248 | 2248 | <key>0</key>
|
|
2289 | 2289 | </dict>
|
2290 | 2290 | <dict>
|
2291 | 2291 | <key>begin</key>
|
2292 |
| - <string>(?=(?><<-("?)((?:[_\w]+_|)CSS)\b\1))</string> |
| 2292 | + <string>(?=(?><<[-~]("?)((?:[_\w]+_|)CSS)\b\1))</string> |
2293 | 2293 | <key>comment</key>
|
2294 | 2294 | <string>Heredoc with embedded css</string>
|
2295 | 2295 | <key>end</key>
|
|
2300 | 2300 | <array>
|
2301 | 2301 | <dict>
|
2302 | 2302 | <key>begin</key>
|
2303 |
| - <string>(?><<-("?)((?:[_\w]+_|)CSS)\b\1)</string> |
| 2303 | + <string>(?><<[-~]("?)((?:[_\w]+_|)CSS)\b\1)</string> |
2304 | 2304 | <key>beginCaptures</key>
|
2305 | 2305 | <dict>
|
2306 | 2306 | <key>0</key>
|
|
2347 | 2347 | </dict>
|
2348 | 2348 | <dict>
|
2349 | 2349 | <key>begin</key>
|
2350 |
| - <string>(?=(?><<-("?)((?:[_\w]+_|)CPP)\b\1))</string> |
| 2350 | + <string>(?=(?><<[-~]("?)((?:[_\w]+_|)CPP)\b\1))</string> |
2351 | 2351 | <key>comment</key>
|
2352 | 2352 | <string>Heredoc with embedded c++</string>
|
2353 | 2353 | <key>end</key>
|
|
2358 | 2358 | <array>
|
2359 | 2359 | <dict>
|
2360 | 2360 | <key>begin</key>
|
2361 |
| - <string>(?><<-("?)((?:[_\w]+_|)CPP)\b\1)</string> |
| 2361 | + <string>(?><<[-~]("?)((?:[_\w]+_|)CPP)\b\1)</string> |
2362 | 2362 | <key>beginCaptures</key>
|
2363 | 2363 | <dict>
|
2364 | 2364 | <key>0</key>
|
|
2405 | 2405 | </dict>
|
2406 | 2406 | <dict>
|
2407 | 2407 | <key>begin</key>
|
2408 |
| - <string>(?=(?><<-("?)((?:[_\w]+_|)C)\b\1))</string> |
| 2408 | + <string>(?=(?><<[-~]("?)((?:[_\w]+_|)C)\b\1))</string> |
2409 | 2409 | <key>comment</key>
|
2410 | 2410 | <string>Heredoc with embedded c</string>
|
2411 | 2411 | <key>end</key>
|
|
2416 | 2416 | <array>
|
2417 | 2417 | <dict>
|
2418 | 2418 | <key>begin</key>
|
2419 |
| - <string>(?><<-("?)((?:[_\w]+_|)C)\b\1)</string> |
| 2419 | + <string>(?><<[-~]("?)((?:[_\w]+_|)C)\b\1)</string> |
2420 | 2420 | <key>beginCaptures</key>
|
2421 | 2421 | <dict>
|
2422 | 2422 | <key>0</key>
|
|
2463 | 2463 | </dict>
|
2464 | 2464 | <dict>
|
2465 | 2465 | <key>begin</key>
|
2466 |
| - <string>(?=(?><<-("?)((?:[_\w]+_|)(?:JS|JAVASCRIPT))\b\1))</string> |
| 2466 | + <string>(?=(?><<[-~]("?)((?:[_\w]+_|)(?:JS|JAVASCRIPT))\b\1))</string> |
2467 | 2467 | <key>comment</key>
|
2468 | 2468 | <string>Heredoc with embedded javascript</string>
|
2469 | 2469 | <key>end</key>
|
|
2474 | 2474 | <array>
|
2475 | 2475 | <dict>
|
2476 | 2476 | <key>begin</key>
|
2477 |
| - <string>(?><<-("?)((?:[_\w]+_|)(?:JS|JAVASCRIPT))\b\1)</string> |
| 2477 | + <string>(?><<[-~]("?)((?:[_\w]+_|)(?:JS|JAVASCRIPT))\b\1)</string> |
2478 | 2478 | <key>beginCaptures</key>
|
2479 | 2479 | <dict>
|
2480 | 2480 | <key>0</key>
|
|
2521 | 2521 | </dict>
|
2522 | 2522 | <dict>
|
2523 | 2523 | <key>begin</key>
|
2524 |
| - <string>(?=(?><<-("?)((?:[_\w]+_|)JQUERY)\b\1))</string> |
| 2524 | + <string>(?=(?><<[-~]("?)((?:[_\w]+_|)JQUERY)\b\1))</string> |
2525 | 2525 | <key>comment</key>
|
2526 | 2526 | <string>Heredoc with embedded jQuery javascript</string>
|
2527 | 2527 | <key>end</key>
|
|
2532 | 2532 | <array>
|
2533 | 2533 | <dict>
|
2534 | 2534 | <key>begin</key>
|
2535 |
| - <string>(?><<-("?)((?:[_\w]+_|)JQUERY)\b\1)</string> |
| 2535 | + <string>(?><<[-~]("?)((?:[_\w]+_|)JQUERY)\b\1)</string> |
2536 | 2536 | <key>beginCaptures</key>
|
2537 | 2537 | <dict>
|
2538 | 2538 | <key>0</key>
|
|
2579 | 2579 | </dict>
|
2580 | 2580 | <dict>
|
2581 | 2581 | <key>begin</key>
|
2582 |
| - <string>(?=(?><<-("?)((?:[_\w]+_|)(?:SH|SHELL))\b\1))</string> |
| 2582 | + <string>(?=(?><<[-~]("?)((?:[_\w]+_|)(?:SH|SHELL))\b\1))</string> |
2583 | 2583 | <key>comment</key>
|
2584 | 2584 | <string>Heredoc with embedded shell</string>
|
2585 | 2585 | <key>end</key>
|
|
2590 | 2590 | <array>
|
2591 | 2591 | <dict>
|
2592 | 2592 | <key>begin</key>
|
2593 |
| - <string>(?><<-("?)((?:[_\w]+_|)(?:SH|SHELL))\b\1)</string> |
| 2593 | + <string>(?><<[-~]("?)((?:[_\w]+_|)(?:SH|SHELL))\b\1)</string> |
2594 | 2594 | <key>beginCaptures</key>
|
2595 | 2595 | <dict>
|
2596 | 2596 | <key>0</key>
|
|
2637 | 2637 | </dict>
|
2638 | 2638 | <dict>
|
2639 | 2639 | <key>begin</key>
|
2640 |
| - <string>(?=(?><<-("?)((?:[_\w]+_|)LUA)\b\1))</string> |
| 2640 | + <string>(?=(?><<[-~]("?)((?:[_\w]+_|)LUA)\b\1))</string> |
2641 | 2641 | <key>comment</key>
|
2642 | 2642 | <string>Heredoc with embedded lua</string>
|
2643 | 2643 | <key>end</key>
|
|
2648 | 2648 | <array>
|
2649 | 2649 | <dict>
|
2650 | 2650 | <key>begin</key>
|
2651 |
| - <string>(?><<-("?)((?:[_\w]+_|)LUA)\b\1)</string> |
| 2651 | + <string>(?><<[-~]("?)((?:[_\w]+_|)LUA)\b\1)</string> |
2652 | 2652 | <key>beginCaptures</key>
|
2653 | 2653 | <dict>
|
2654 | 2654 | <key>0</key>
|
|
2695 | 2695 | </dict>
|
2696 | 2696 | <dict>
|
2697 | 2697 | <key>begin</key>
|
2698 |
| - <string>(?=(?><<-("?)((?:[_\w]+_|)RUBY)\b\1))</string> |
| 2698 | + <string>(?=(?><<[-~]("?)((?:[_\w]+_|)RUBY)\b\1))</string> |
2699 | 2699 | <key>beginCaptures</key>
|
2700 | 2700 | <dict>
|
2701 | 2701 | <key>0</key>
|
|
2736 | 2736 | </dict>
|
2737 | 2737 | <dict>
|
2738 | 2738 | <key>begin</key>
|
2739 |
| - <string>(?><<-(\w+))</string> |
| 2739 | + <string>(?><<[-~](\w+))</string> |
2740 | 2740 | <key>beginCaptures</key>
|
2741 | 2741 | <dict>
|
2742 | 2742 | <key>0</key>
|
|
3018 | 3018 | <key>heredoc</key>
|
3019 | 3019 | <dict>
|
3020 | 3020 | <key>begin</key>
|
3021 |
| - <string>^<<-?\w+</string> |
| 3021 | + <string>^<<[-~]?\w+</string> |
3022 | 3022 | <key>end</key>
|
3023 | 3023 | <string>$</string>
|
3024 | 3024 | <key>patterns</key>
|
|
0 commit comments