From db6b460cac6b82efb47abdedea413702dca98e38 Mon Sep 17 00:00:00 2001 From: Anthony Fu Date: Fri, 30 Aug 2024 01:51:53 +0200 Subject: [PATCH] feat: properly optimize regexes --- packages/tm-grammars/README.md | 78 +++++----- packages/tm-grammars/grammars/abap.json | 8 +- packages/tm-grammars/grammars/angular-ts.json | 2 +- packages/tm-grammars/grammars/apl.json | 2 +- .../tm-grammars/grammars/applescript.json | 12 +- packages/tm-grammars/grammars/blade.json | 136 ++++++++--------- packages/tm-grammars/grammars/c.json | 2 +- packages/tm-grammars/grammars/codeql.json | 6 +- .../tm-grammars/grammars/common-lisp.json | 90 ++++++------ packages/tm-grammars/grammars/cpp.json | 2 +- packages/tm-grammars/grammars/css.json | 22 +-- .../tm-grammars/grammars/dream-maker.json | 4 +- packages/tm-grammars/grammars/fish.json | 2 +- packages/tm-grammars/grammars/gdscript.json | 6 +- packages/tm-grammars/grammars/glimmer-js.json | 2 +- packages/tm-grammars/grammars/glimmer-ts.json | 2 +- packages/tm-grammars/grammars/gnuplot.json | 38 ++--- packages/tm-grammars/grammars/groovy.json | 4 +- packages/tm-grammars/grammars/hack.json | 12 +- packages/tm-grammars/grammars/haskell.json | 120 ++++++++------- packages/tm-grammars/grammars/hjson.json | 4 +- packages/tm-grammars/grammars/html.json | 4 +- packages/tm-grammars/grammars/imba.json | 10 +- packages/tm-grammars/grammars/javascript.json | 2 +- packages/tm-grammars/grammars/json5.json | 4 +- packages/tm-grammars/grammars/jsx.json | 2 +- packages/tm-grammars/grammars/markdown.json | 10 +- packages/tm-grammars/grammars/matlab.json | 4 +- packages/tm-grammars/grammars/mojo.json | 32 ++-- .../tm-grammars/grammars/objective-c.json | 4 +- .../tm-grammars/grammars/objective-cpp.json | 4 +- packages/tm-grammars/grammars/php.json | 138 +++++++++--------- packages/tm-grammars/grammars/powerquery.json | 2 +- packages/tm-grammars/grammars/puppet.json | 8 +- packages/tm-grammars/grammars/python.json | 34 ++--- packages/tm-grammars/grammars/racket.json | 103 +++++++------ packages/tm-grammars/grammars/regexp.json | 2 +- packages/tm-grammars/grammars/ruby.json | 2 +- packages/tm-grammars/grammars/scss.json | 2 +- packages/tm-grammars/grammars/sql.json | 2 +- packages/tm-grammars/grammars/stylus.json | 2 +- packages/tm-grammars/grammars/swift.json | 12 +- .../tm-grammars/grammars/system-verilog.json | 2 +- packages/tm-grammars/grammars/toml.json | 4 +- packages/tm-grammars/grammars/tsx.json | 2 +- packages/tm-grammars/grammars/twig.json | 6 +- packages/tm-grammars/grammars/typescript.json | 2 +- packages/tm-grammars/grammars/vyper.json | 36 ++--- packages/tm-grammars/grammars/yaml.json | 10 +- packages/tm-grammars/index.js | 96 ++++++------ scripts/grammars/cleanup.ts | 18 --- scripts/grammars/reprint.test.ts | 25 +++- scripts/grammars/reprint.ts | 73 +++++++-- 53 files changed, 627 insertions(+), 584 deletions(-) diff --git a/packages/tm-grammars/README.md b/packages/tm-grammars/README.md index a810e2c..37b7d6a 100644 --- a/packages/tm-grammars/README.md +++ b/packages/tm-grammars/README.md @@ -20,15 +20,15 @@ import { grammars } from 'tm-grammars' ## Grammars | Name | Alias | Source | License | Deps On | File Size | | ---- | ----- | ------ | ------- | ------- | --------- | -| `abap` | | [pvl/abap.tmbundle](https://github.com/pvl/abap.tmbundle/blob/a9b2efff4f4afa469d984353384f09e4ebd24055/Syntaxes/ABAP.tmLanguage) | | | 16.82 kB | +| `abap` | | [pvl/abap.tmbundle](https://github.com/pvl/abap.tmbundle/blob/a9b2efff4f4afa469d984353384f09e4ebd24055/Syntaxes/ABAP.tmLanguage) | | | 16.90 kB | | `actionscript-3` | | [BowlerHatLLC/vscode-as3mxml](https://github.com/BowlerHatLLC/vscode-as3mxml/blob/77075cd9a439ecd87815cecb1f1c2bb1ff44a2e5/distribution/src/assembly/syntaxes/AS3.tmLanguage) | [Apache-2.0](https://raw.githubusercontent.com/BowlerHatLLC/vscode-as3mxml/main/LICENSE) | | 13.70 kB | | `ada` | | [AdaCore/ada_language_server](https://github.com/AdaCore/ada_language_server/blob/75c0d0c22b3f3dbf559946331c7aca6fc5b84065/integration/vscode/ada/advanced/ada.tmLanguage.json) | [GPL-3.0](https://raw.githubusercontent.com/AdaCore/ada_language_server/master/LICENSE) | | 45.72 kB | | `angular-html` | | [onivim/vscode-exthost](https://github.com/onivim/vscode-exthost/blob/cfc2a2212de9ea10943af58ebd1817a5ad196463/extensions/html/syntaxes/html-derivative.tmLanguage.json) | [MIT](https://raw.githubusercontent.com/onivim/vscode-exthost/master/LICENSE.txt) | `html` `angular-expression` `angular-let-declaration` `angular-template` `angular-template-blocks` | 772.00 B | -| `angular-ts` | | [microsoft/vscode](https://github.com/microsoft/vscode/blob/35d97bc7e439fce0f50f42074041ab2d8571b20a/extensions/typescript-basics/syntaxes/TypeScript.tmLanguage.json) | [MIT](https://raw.githubusercontent.com/microsoft/vscode/main/LICENSE.txt) | `angular-expression` `angular-inline-style` `angular-inline-template` `angular-let-declaration` `angular-template` `angular-template-blocks` | 172.81 kB | +| `angular-ts` | | [microsoft/vscode](https://github.com/microsoft/vscode/blob/35d97bc7e439fce0f50f42074041ab2d8571b20a/extensions/typescript-basics/syntaxes/TypeScript.tmLanguage.json) | [MIT](https://raw.githubusercontent.com/microsoft/vscode/main/LICENSE.txt) | `angular-expression` `angular-inline-style` `angular-inline-template` `angular-let-declaration` `angular-template` `angular-template-blocks` | 172.80 kB | | `apache` | | [colinta/ApacheConf.tmLanguage](https://github.com/colinta/ApacheConf.tmLanguage/blob/1fdb47b6fe2cea20cfedbc522bff3ff1ed656c07/ApacheConf.tmLanguage) | [NOASSERTION](https://raw.githubusercontent.com/colinta/ApacheConf.tmLanguage/main/LICENSE) | | 12.57 kB | | `apex` | | [forcedotcom/apex-tmLanguage](https://github.com/forcedotcom/apex-tmLanguage/blob/1d3c7097c8e50b4f4163c9e27b450fcd45f40a5e/grammars/apex.tmLanguage) | [NOASSERTION](https://raw.githubusercontent.com/forcedotcom/apex-tmLanguage/main/LICENSE) | | 43.87 kB | -| `apl` | | [kimmolinna/vscode-apl-language](https://github.com/kimmolinna/vscode-apl-language/blob/13541242d9ffae225e89ebba23f9abaa4c60697e/syntaxes/apl.tmLanguage.json) | | `html` `xml` `css` `javascript` `json` | 25.25 kB | -| `applescript` | | [textmate/applescript.tmbundle](https://github.com/textmate/applescript.tmbundle/blob/4947cad7494eba084c21cfe04689b4efce96700f/Syntaxes/AppleScript.tmLanguage) | | | 28.73 kB | +| `apl` | | [kimmolinna/vscode-apl-language](https://github.com/kimmolinna/vscode-apl-language/blob/13541242d9ffae225e89ebba23f9abaa4c60697e/syntaxes/apl.tmLanguage.json) | | `html` `xml` `css` `javascript` `json` | 22.96 kB | +| `applescript` | | [textmate/applescript.tmbundle](https://github.com/textmate/applescript.tmbundle/blob/4947cad7494eba084c21cfe04689b4efce96700f/Syntaxes/AppleScript.tmLanguage) | | | 28.86 kB | | `ara` | | [ara-lang/highlighting](https://github.com/ara-lang/highlighting/blob/ed1dbedcf03d0b67207e41fe2e11218cc925dc0d/syntaxes/ara.json) | [Apache-2.0](https://raw.githubusercontent.com/ara-lang/highlighting/main/LICENSE-APACHE) | | 6.75 kB | | `asciidoc` | `adoc` | [asciidoctor/asciidoctor-vscode](https://github.com/asciidoctor/asciidoctor-vscode/blob/076b687537188b4fab45db3624b4210d982a87b8/syntaxes/Asciidoctor.json) | [NOASSERTION](https://raw.githubusercontent.com/asciidoctor/asciidoctor-vscode/master/LICENSE) | `html` `yaml` `csv` `c` `clojure` `coffee` `cpp` `css` `csharp` `diff` `docker` `elixir` `elm` `erlang` `go` `groovy` `haskell` `java` `javascript` `json` `jsx` `julia` `kotlin` `less` `make` `objective-c` `ocaml` `perl` `python` `r` `ruby` `rust` `sass` `scala` `scss` `shellscript` `sql` `swift` `toml` `typescript` `xml` | 87.51 kB | | `asm` | | [13xforever/x86_64-assembly-vscode](https://github.com/13xforever/x86_64-assembly-vscode/blob/15c07b12741ac75f5bb6e7701dc7c0d742add8dd/syntaxes/language-x86_64-assembly.tmLanguage) | [MIT](https://raw.githubusercontent.com/13xforever/x86_64-assembly-vscode/master/LICENSE.txt) | | 38.56 kB | @@ -40,7 +40,7 @@ import { grammars } from 'tm-grammars' | `berry` | `be` | [berry-lang/berry](https://github.com/berry-lang/berry/blob/a0f5c044a3b593deaf87292ca6f04c2343e53dc8/tools/plugins/vscode/skiars.berry-1.1.0/syntaxes/berry.json) | [MIT](https://raw.githubusercontent.com/berry-lang/berry/master/LICENSE) | | 2.12 kB | | `bibtex` | | [microsoft/vscode](https://github.com/microsoft/vscode/blob/b557947e50a068bdcc927ffd31ee555dbb232558/extensions/latex/syntaxes/Bibtex.tmLanguage.json) | [MIT](https://raw.githubusercontent.com/microsoft/vscode/main/LICENSE.txt) | | 4.68 kB | | `bicep` | | [Azure/bicep](https://github.com/Azure/bicep/blob/9bbe7ae112fafe30b2ad67f2057640671a80069e/src/textmate/bicep.tmlanguage) | [MIT](https://raw.githubusercontent.com/Azure/bicep/main/LICENSE) | | 3.93 kB | -| `blade` | | [spatie/shiki-php](https://github.com/spatie/shiki-php/blob/e985c3ab6b13252ad4521b7edb8ff91a9da3dd46/languages/blade.tmLanguage.json) | [MIT](https://raw.githubusercontent.com/spatie/shiki-php/main/LICENSE.md) | `html` `xml` `sql` `javascript` `json` `css` | 100.29 kB | +| `blade` | | [spatie/shiki-php](https://github.com/spatie/shiki-php/blob/e985c3ab6b13252ad4521b7edb8ff91a9da3dd46/languages/blade.tmLanguage.json) | [MIT](https://raw.githubusercontent.com/spatie/shiki-php/main/LICENSE.md) | `html` `xml` `sql` `javascript` `json` `css` | 102.29 kB | | `c` | | [microsoft/vscode](https://github.com/microsoft/vscode/blob/bd1abe08c38bb5deccf65610f8f3c03d2338d20d/extensions/cpp/syntaxes/c.tmLanguage.json) | [MIT](https://raw.githubusercontent.com/microsoft/vscode/main/LICENSE.txt) | | 69.45 kB | | `cadence` | `cdc` | [onflow/vscode-cadence](https://github.com/onflow/vscode-cadence/blob/e227d66c0346d2229da8c81a116abefdcda5f443/extension/language/syntaxes/cadence.tmGrammar.json) | [Apache-2.0](https://raw.githubusercontent.com/onflow/vscode-cadence/master/LICENSE) | | 10.34 kB | | `clarity` | | [hirosystems/clarity.tmbundle](https://github.com/hirosystems/clarity.tmbundle/blob/52508cc05304780d80a5dc817fcc35c6760c5459/Syntaxes/clarity.JSON-tmLanguage) | [MIT](https://raw.githubusercontent.com/hirosystems/clarity.tmbundle/main/LICENSE) | | 13.67 kB | @@ -48,14 +48,14 @@ import { grammars } from 'tm-grammars' | `cmake` | | [twxs/vs.language.cmake](https://github.com/twxs/vs.language.cmake/blob/19b1b8fe2d68d72cf294d0c3c22f0a3fc54f8f6f/syntaxes/CMake.tmLanguage) | [MIT](https://raw.githubusercontent.com/twxs/vs.language.cmake/master/LICENSE) | | 10.00 kB | | `cobol` | | [spgennard/vscode_cobol](https://github.com/spgennard/vscode_cobol/blob/e23b4cda2772a4fbc985407167412edcd47f528a/syntaxes/COBOL.tmLanguage.json) | [MIT](https://raw.githubusercontent.com/spgennard/vscode_cobol/main/LICENSE) | `sql` `html` `java` | 38.43 kB | | `codeowners` | | [jasonnutter/vscode-codeowners](https://github.com/jasonnutter/vscode-codeowners/blob/219dee0ab25c1bfad0b9de84180117e71221a653/syntaxes/codeowners.tmLanguage.json) | [MIT](https://raw.githubusercontent.com/jasonnutter/vscode-codeowners/master/LICENSE.txt) | | 471.00 B | -| `codeql` | `ql` | [github/vscode-codeql](https://github.com/github/vscode-codeql/blob/47fa163cb9fffce379458962eb391c9ef9082dcb/syntaxes/ql.tmLanguage.json) | [MIT](https://raw.githubusercontent.com/github/vscode-codeql/main/LICENSE.md) | | 31.87 kB | +| `codeql` | `ql` | [github/vscode-codeql](https://github.com/github/vscode-codeql/blob/47fa163cb9fffce379458962eb391c9ef9082dcb/syntaxes/ql.tmLanguage.json) | [MIT](https://raw.githubusercontent.com/github/vscode-codeql/main/LICENSE.md) | | 31.84 kB | | `coffee` | `coffeescript` | [microsoft/vscode](https://github.com/microsoft/vscode/blob/ff58f5083f57b50e6a100ab60454dfb72fe21e80/extensions/coffeescript/syntaxes/coffeescript.tmLanguage.json) | [MIT](https://raw.githubusercontent.com/microsoft/vscode/main/LICENSE.txt) | `javascript` | 26.11 kB | -| `common-lisp` | `lisp` | [qingpeng9802/vscode-common-lisp](https://github.com/qingpeng9802/vscode-common-lisp/blob/79d04dc9ca80d98e65c4f28b3d67a24a7829b18f/syntaxes/commonlisp.tmLanguage.json) | [MIT](https://raw.githubusercontent.com/qingpeng9802/vscode-common-lisp/master/LICENSE) | | 23.47 kB | +| `common-lisp` | `lisp` | [qingpeng9802/vscode-common-lisp](https://github.com/qingpeng9802/vscode-common-lisp/blob/79d04dc9ca80d98e65c4f28b3d67a24a7829b18f/syntaxes/commonlisp.tmLanguage.json) | [MIT](https://raw.githubusercontent.com/qingpeng9802/vscode-common-lisp/master/LICENSE) | | 26.12 kB | | `coq` | | [coq-community/vscoq](https://github.com/coq-community/vscoq/blob/ea0e57916a9c2c74397fbc68ef9392441f116bfe/client/syntax/coq.tmLanguage.json) | [MIT](https://raw.githubusercontent.com/coq-community/vscoq/main/LICENSE) | | 5.51 kB | | `cpp` | `c++` | [microsoft/vscode](https://github.com/microsoft/vscode/blob/6ac83c7c7dda9f27ca1fe9d98675253e010b75d1/extensions/cpp/syntaxes/cpp.tmLanguage.json) | [MIT](https://raw.githubusercontent.com/microsoft/vscode/main/LICENSE.txt) | `cpp-macro` `regexp` `glsl` `sql` | 410.92 kB | | `crystal` | | [crystal-lang-tools/vscode-crystal-lang](https://github.com/crystal-lang-tools/vscode-crystal-lang/blob/c920b0931ec5f05b78447dbff31b172c64f1d734/syntaxes/crystal.json) | [MIT](https://raw.githubusercontent.com/crystal-lang-tools/vscode-crystal-lang/master/LICENSE) | `html` `sql` `css` `c` `javascript` `shellscript` | 31.49 kB | | `csharp` | `c#` `cs` | [microsoft/vscode](https://github.com/microsoft/vscode/blob/ed4e6eda599f37bac9a11952403a6e63fd4f5a4d/extensions/csharp/syntaxes/csharp.tmLanguage.json) | [MIT](https://raw.githubusercontent.com/microsoft/vscode/main/LICENSE.txt) | | 81.19 kB | -| `css` | | [microsoft/vscode](https://github.com/microsoft/vscode/blob/ae23e73ba0690ae82614d585e10a88d608ccdda0/extensions/css/syntaxes/css.tmLanguage.json) | [MIT](https://raw.githubusercontent.com/microsoft/vscode/main/LICENSE.txt) | | 48.09 kB | +| `css` | | [microsoft/vscode](https://github.com/microsoft/vscode/blob/ae23e73ba0690ae82614d585e10a88d608ccdda0/extensions/css/syntaxes/css.tmLanguage.json) | [MIT](https://raw.githubusercontent.com/microsoft/vscode/main/LICENSE.txt) | | 51.23 kB | | `csv` | | [mechatroner/vscode_rainbow_csv](https://github.com/mechatroner/vscode_rainbow_csv/blob/3bdafafa12940a75166089b64bdd80b1d3b071db/syntaxes/csv.tmLanguage.json) | [MIT](https://raw.githubusercontent.com/mechatroner/vscode_rainbow_csv/master/LICENSE) | | 1.07 kB | | `cue` | | [cue-sh/vscode-cue](https://github.com/cue-sh/vscode-cue/blob/0734615a2607fe03f5d6c1816f8f7435179659fc/syntaxes/cue.tmLanguage.json) | [MIT](https://raw.githubusercontent.com/cue-sh/vscode-cue/master/LICENSE) | | 15.93 kB | | `cypher` | `cql` | [adam-cowley/neo4j-vscode](https://github.com/adam-cowley/neo4j-vscode/blob/ad90d275ac76c740018e78f78722343f730270e0/cypher/cypher.tmLanguage) | [MIT](https://raw.githubusercontent.com/adam-cowley/neo4j-vscode/main/LICENSE) | | 6.35 kB | @@ -66,7 +66,7 @@ import { grammars } from 'tm-grammars' | `diff` | | [microsoft/vscode](https://github.com/microsoft/vscode/blob/4549bd26c7b799284e0ebd8dc1e0310e6a8707a1/extensions/diff/syntaxes/diff.tmLanguage.json) | [MIT](https://raw.githubusercontent.com/microsoft/vscode/main/LICENSE.txt) | | 2.45 kB | | `docker` | `dockerfile` | [microsoft/vscode](https://github.com/microsoft/vscode/blob/8fdf170a0850c1cc027382f31650aaf300d3ae2a/extensions/docker/syntaxes/docker.tmLanguage.json) | [MIT](https://raw.githubusercontent.com/microsoft/vscode/main/LICENSE.txt) | | 1.51 kB | | `dotenv` | | [dotenv-org/dotenv-vscode](https://github.com/dotenv-org/dotenv-vscode/blob/e7e41baa5b23e01c1ff0567a4e596c24860e7def/syntaxes/dotenv.tmLanguage.json) | [MIT](https://raw.githubusercontent.com/dotenv-org/dotenv-vscode/master/LICENSE) | | 1.57 kB | -| `dream-maker` | | [gbasood/vscode-atomic-dreams](https://github.com/gbasood/vscode-atomic-dreams/blob/22d2bf0325f65697ea542856280f66e9e098f4a2/syntaxes/dm.tmLanguage.json) | | | 9.82 kB | +| `dream-maker` | | [gbasood/vscode-atomic-dreams](https://github.com/gbasood/vscode-atomic-dreams/blob/22d2bf0325f65697ea542856280f66e9e098f4a2/syntaxes/dm.tmLanguage.json) | | | 9.81 kB | | `edge` | | [edge-js/edge-vscode](https://github.com/edge-js/edge-vscode/blob/04352c41981ca664598674556afa63bd393a10f3/syntaxes/edge.tmLanguage.json) | [MIT](https://raw.githubusercontent.com/edge-js/edge-vscode/main/LICENSE.md) | `typescript` `html` `html-derivative` | 1.97 kB | | `elixir` | | [elixir-editors/elixir-tmbundle](https://github.com/elixir-editors/elixir-tmbundle/blob/43c8cd957d5ac6e1abbd8730fc7a08c81a6e76c9/Syntaxes/Elixir.tmLanguage) | [NOASSERTION](https://raw.githubusercontent.com/elixir-editors/elixir-tmbundle/master/LICENSE) | `html` | 16.95 kB | | `elm` | | [elm-tooling/elm-language-client-vscode](https://github.com/elm-tooling/elm-language-client-vscode/blob/c70351314682c2e0fae8a402ebb301da79821c37/syntaxes/elm-syntax.json) | [MIT](https://raw.githubusercontent.com/elm-tooling/elm-language-client-vscode/main/LICENSE) | `glsl` | 10.51 kB | @@ -74,47 +74,47 @@ import { grammars } from 'tm-grammars' | `erb` | | [textmate/ruby.tmbundle](https://github.com/textmate/ruby.tmbundle/blob/ecf0f1df23984bcff9b51552e35d9696cb0d9539/Syntaxes/HTML%20(Ruby%20-%20ERB).tmLanguage) | | `html` `ruby` | 1.90 kB | | `erlang` | `erl` | [erlang-ls/grammar](https://github.com/erlang-ls/grammar/blob/cf532fa16db0f106c50db4bcad38f862210f6d14/Erlang.plist) | [Apache-2.0](https://raw.githubusercontent.com/erlang-ls/grammar/main/LICENSE) | | 34.57 kB | | `fennel` | | [kongeor/vsc-fennel](https://github.com/kongeor/vsc-fennel/blob/664148923d7bd72531120d0cba712c6dba6f698d/syntaxes/fennel.tmLanguage.json) | [MIT](https://raw.githubusercontent.com/kongeor/vsc-fennel/master/LICENSE) | | 4.55 kB | -| `fish` | | [bmalehorn/vscode-fish](https://github.com/bmalehorn/vscode-fish/blob/2fe4ccc72fdcd9b9f54fbb2c05fe9b350c32d718/syntaxes/fish.tmLanguage.json) | [MIT](https://raw.githubusercontent.com/bmalehorn/vscode-fish/master/LICENSE) | | 5.06 kB | +| `fish` | | [bmalehorn/vscode-fish](https://github.com/bmalehorn/vscode-fish/blob/2fe4ccc72fdcd9b9f54fbb2c05fe9b350c32d718/syntaxes/fish.tmLanguage.json) | [MIT](https://raw.githubusercontent.com/bmalehorn/vscode-fish/master/LICENSE) | | 5.05 kB | | `fluent` | `ftl` | [macabeus/vscode-fluent](https://github.com/macabeus/vscode-fluent/blob/8544ea296a7769a359f43ddff4dc4b6c61f5cf59/syntaxes/fluent.tmLanguage.json) | [MIT](https://raw.githubusercontent.com/macabeus/vscode-fluent/master/LICENSE) | | 3.39 kB | | `fortran-fixed-form` | `f` `for` `f77` | [fortran-lang/vscode-fortran-support](https://github.com/fortran-lang/vscode-fortran-support/blob/e642012094fc0a7379f204bb4e61243005afb1da/syntaxes/fortran_fixed-form.tmLanguage.json) | [MIT](https://raw.githubusercontent.com/fortran-lang/vscode-fortran-support/main/LICENSE) | `fortran-free-form` | 905.00 B | | `fortran-free-form` | `f90` `f95` `f03` `f08` `f18` | [fortran-lang/vscode-fortran-support](https://github.com/fortran-lang/vscode-fortran-support/blob/f7fb41579770a0d8c75b9f295d167b31147b4f33/syntaxes/fortran_free-form.tmLanguage.json) | [MIT](https://raw.githubusercontent.com/fortran-lang/vscode-fortran-support/main/LICENSE) | | 92.92 kB | | `fsharp` | `f#` `fs` | [microsoft/vscode](https://github.com/microsoft/vscode/blob/9473445f7d3dcb5c579f42ece8b6c18c43c63ed3/extensions/fsharp/syntaxes/fsharp.tmLanguage.json) | [MIT](https://raw.githubusercontent.com/microsoft/vscode/main/LICENSE.txt) | `markdown` | 24.02 kB | | `gdresource` | | [godotengine/godot-vscode-plugin](https://github.com/godotengine/godot-vscode-plugin/blob/e7e2d0439dea0fb3a568378554c81e0a17348a84/syntaxes/GDResource.tmLanguage.json) | [MIT](https://raw.githubusercontent.com/godotengine/godot-vscode-plugin/master/LICENSE) | `gdshader` `gdscript` | 4.90 kB | -| `gdscript` | | [godotengine/godot-vscode-plugin](https://github.com/godotengine/godot-vscode-plugin/blob/9750f8dfc6e4eeba96f7df62432751930af95337/syntaxes/GDScript.tmLanguage.json) | [MIT](https://raw.githubusercontent.com/godotengine/godot-vscode-plugin/master/LICENSE) | | 17.60 kB | +| `gdscript` | | [godotengine/godot-vscode-plugin](https://github.com/godotengine/godot-vscode-plugin/blob/9750f8dfc6e4eeba96f7df62432751930af95337/syntaxes/GDScript.tmLanguage.json) | [MIT](https://raw.githubusercontent.com/godotengine/godot-vscode-plugin/master/LICENSE) | | 17.57 kB | | `gdshader` | | [godotengine/godot-vscode-plugin](https://github.com/godotengine/godot-vscode-plugin/blob/e7e2d0439dea0fb3a568378554c81e0a17348a84/syntaxes/GDShader.tmLanguage.json) | [MIT](https://raw.githubusercontent.com/godotengine/godot-vscode-plugin/master/LICENSE) | | 5.95 kB | | `genie` | | [vala-lang/vala-vscode](https://github.com/vala-lang/vala-vscode/blob/8f825e95648326df2572d0522632251cdff4a43b/syntaxes/genie.YAML-tmLanguage) | [MIT](https://raw.githubusercontent.com/vala-lang/vala-vscode/master/LICENSE) | | 3.12 kB | | `gherkin` | | [alexkrechik/VSCucumberAutoComplete](https://github.com/alexkrechik/VSCucumberAutoComplete/blob/fbb554addf81e8961b58b1577924af10fecf9694/syntaxes/feature.tmLanguage.json) | [MIT](https://raw.githubusercontent.com/alexkrechik/VSCucumberAutoComplete/master/LICENSE) | | 12.13 kB | | `git-commit` | | [microsoft/vscode](https://github.com/microsoft/vscode/blob/f8c3f89468fea14103d8790d59ea8594d6e644eb/extensions/git-base/syntaxes/git-commit.tmLanguage.json) | [MIT](https://raw.githubusercontent.com/microsoft/vscode/main/LICENSE.txt) | `diff` | 1.36 kB | | `git-rebase` | | [microsoft/vscode](https://github.com/microsoft/vscode/blob/e95c74c4c7af876e79ec58df262464467c06df28/extensions/git-base/syntaxes/git-rebase.tmLanguage.json) | [MIT](https://raw.githubusercontent.com/microsoft/vscode/main/LICENSE.txt) | `shellscript` | 818.00 B | | `gleam` | | [gleam-lang/vscode-gleam](https://github.com/gleam-lang/vscode-gleam/blob/6ed1e8a5acb5c4dbe2d44fe7d01d835ddc09cc9e/syntaxes/gleam.tmLanguage.json) | [Apache-2.0](https://raw.githubusercontent.com/gleam-lang/vscode-gleam/main/LICENSE.txt) | | 2.42 kB | -| `glimmer-js` | `gjs` | [lifeart/vsc-ember-syntax](https://github.com/lifeart/vsc-ember-syntax/blob/76fce7b360ce09a78789e7d5217b8955d1a5d95f/syntaxes/source.gjs.json) | [MIT](https://raw.githubusercontent.com/lifeart/vsc-ember-syntax/master/LICENSE) | `javascript` `typescript` `css` `html` | 19.08 kB | -| `glimmer-ts` | `gts` | [lifeart/vsc-ember-syntax](https://github.com/lifeart/vsc-ember-syntax/blob/76fce7b360ce09a78789e7d5217b8955d1a5d95f/syntaxes/source.gts.json) | [MIT](https://raw.githubusercontent.com/lifeart/vsc-ember-syntax/master/LICENSE) | `typescript` `css` `javascript` `html` | 19.08 kB | +| `glimmer-js` | `gjs` | [lifeart/vsc-ember-syntax](https://github.com/lifeart/vsc-ember-syntax/blob/76fce7b360ce09a78789e7d5217b8955d1a5d95f/syntaxes/source.gjs.json) | [MIT](https://raw.githubusercontent.com/lifeart/vsc-ember-syntax/master/LICENSE) | `javascript` `typescript` `css` `html` | 19.38 kB | +| `glimmer-ts` | `gts` | [lifeart/vsc-ember-syntax](https://github.com/lifeart/vsc-ember-syntax/blob/76fce7b360ce09a78789e7d5217b8955d1a5d95f/syntaxes/source.gts.json) | [MIT](https://raw.githubusercontent.com/lifeart/vsc-ember-syntax/master/LICENSE) | `typescript` `css` `javascript` `html` | 19.38 kB | | `glsl` | | [polym0rph/GLSL.tmbundle](https://github.com/polym0rph/GLSL.tmbundle/blob/6998d3bbd204e26746a5ca580cda4c650b9057b1/Syntaxes/GLSL.tmLanguage) | | `c` | 3.69 kB | -| `gnuplot` | | [MarioSchwalbe/vscode-gnuplot](https://github.com/MarioSchwalbe/vscode-gnuplot/blob/c62c1a61c9b6b4658b43d76c397dc2ad43523b6a/syntaxes/gnuplot.tmLanguage) | [GPL-3.0](https://raw.githubusercontent.com/MarioSchwalbe/vscode-gnuplot/master/LICENSE) | | 16.45 kB | +| `gnuplot` | | [MarioSchwalbe/vscode-gnuplot](https://github.com/MarioSchwalbe/vscode-gnuplot/blob/c62c1a61c9b6b4658b43d76c397dc2ad43523b6a/syntaxes/gnuplot.tmLanguage) | [GPL-3.0](https://raw.githubusercontent.com/MarioSchwalbe/vscode-gnuplot/master/LICENSE) | | 13.84 kB | | `go` | | [microsoft/vscode](https://github.com/microsoft/vscode/blob/ed4e6eda599f37bac9a11952403a6e63fd4f5a4d/extensions/go/syntaxes/go.tmLanguage.json) | [MIT](https://raw.githubusercontent.com/microsoft/vscode/main/LICENSE.txt) | | 45.44 kB | | `graphql` | `gql` | [prisma-labs/vscode-graphql](https://github.com/prisma-labs/vscode-graphql/blob/4569aef2364b42b6acd8188e4a6ca9b0ba3c6a1d/grammars/graphql.json) | [MIT](https://raw.githubusercontent.com/graphql/vscode-graphql/master/LICENSE) | `javascript` `typescript` `jsx` `tsx` | 17.11 kB | -| `groovy` | | [microsoft/vscode](https://github.com/microsoft/vscode/blob/8fdf170a0850c1cc027382f31650aaf300d3ae2a/extensions/groovy/syntaxes/groovy.tmLanguage.json) | [MIT](https://raw.githubusercontent.com/microsoft/vscode/main/LICENSE.txt) | | 18.62 kB | -| `hack` | | [slackhq/vscode-hack](https://github.com/slackhq/vscode-hack/blob/b997653188b127a7261b0d26e7808217f3eb47bb/syntaxes/hack.json) | [MIT](https://raw.githubusercontent.com/slackhq/vscode-hack/master/LICENSE.md) | `html` `sql` | 80.55 kB | +| `groovy` | | [microsoft/vscode](https://github.com/microsoft/vscode/blob/8fdf170a0850c1cc027382f31650aaf300d3ae2a/extensions/groovy/syntaxes/groovy.tmLanguage.json) | [MIT](https://raw.githubusercontent.com/microsoft/vscode/main/LICENSE.txt) | | 18.55 kB | +| `hack` | | [slackhq/vscode-hack](https://github.com/slackhq/vscode-hack/blob/b997653188b127a7261b0d26e7808217f3eb47bb/syntaxes/hack.json) | [MIT](https://raw.githubusercontent.com/slackhq/vscode-hack/master/LICENSE.md) | `html` `sql` | 80.77 kB | | `haml` | | [karuna/haml-vscode](https://github.com/karuna/haml-vscode/blob/aa45415aefd691af0a501ea4f98e434490623e0d/syntaxes/haml.json) | [MIT](https://raw.githubusercontent.com/karuna/haml-vscode/master/LICENSE.md) | `ruby` `javascript` `sass` `coffee` `markdown` `css` | 7.68 kB | | `handlebars` | `hbs` | [microsoft/vscode](https://github.com/microsoft/vscode/blob/45db52ba6bd211cecd03897caee0531350071721/extensions/handlebars/syntaxes/Handlebars.tmLanguage.json) | [MIT](https://raw.githubusercontent.com/microsoft/vscode/main/LICENSE.txt) | `html` `css` `javascript` `yaml` | 11.48 kB | -| `haskell` | `hs` | [octref/language-haskell](https://github.com/octref/language-haskell/blob/ae87982aac2bf5cf6334c067e49c5ec8fc08b871/syntaxes/haskell.json) | [BSD-3-Clause](https://raw.githubusercontent.com/octref/language-haskell/master/LICENSE) | | 54.92 kB | +| `haskell` | `hs` | [octref/language-haskell](https://github.com/octref/language-haskell/blob/ae87982aac2bf5cf6334c067e49c5ec8fc08b871/syntaxes/haskell.json) | [BSD-3-Clause](https://raw.githubusercontent.com/octref/language-haskell/master/LICENSE) | | 39.93 kB | | `haxe` | | [vshaxe/haxe-TmLanguage](https://github.com/vshaxe/haxe-TmLanguage/blob/ddad8b4c6d0781ac20be0481174ec1be772c5da5/haxe.YAML-tmLanguage) | [MIT](https://raw.githubusercontent.com/vshaxe/haxe-TmLanguage/master/LICENSE.md) | | 33.58 kB | | `hcl` | | [hashicorp/syntax](https://github.com/hashicorp/syntax/blob/ab1d9da794f06ae91afa06a590727cbf836939b0/syntaxes/hcl.tmGrammar.json) | [MPL-2.0](https://raw.githubusercontent.com/hashicorp/syntax/main/LICENSE) | | 11.21 kB | -| `hjson` | | [hjson/textmate-hjson](https://github.com/hjson/textmate-hjson/blob/196075169c9a9f9ab04c8e7423b67ea72c976237/Syntaxes/Hjson.tmLanguage) | [MIT](https://raw.githubusercontent.com/hjson/textmate-hjson/master/LICENSE) | | 12.20 kB | +| `hjson` | | [hjson/textmate-hjson](https://github.com/hjson/textmate-hjson/blob/196075169c9a9f9ab04c8e7423b67ea72c976237/Syntaxes/Hjson.tmLanguage) | [MIT](https://raw.githubusercontent.com/hjson/textmate-hjson/master/LICENSE) | | 12.14 kB | | `hlsl` | | [microsoft/vscode](https://github.com/microsoft/vscode/blob/efa12b2f49ec6ee84ed1e7bbd948808efec452f6/extensions/hlsl/syntaxes/hlsl.tmLanguage.json) | [MIT](https://raw.githubusercontent.com/microsoft/vscode/main/LICENSE.txt) | | 7.15 kB | -| `html` | | [microsoft/vscode](https://github.com/microsoft/vscode/blob/45324363153075dab0482312ae24d8c068d81e4f/extensions/html/syntaxes/html.tmLanguage.json) | [MIT](https://raw.githubusercontent.com/microsoft/vscode/main/LICENSE.txt) | `javascript` `css` | 56.65 kB | +| `html` | | [microsoft/vscode](https://github.com/microsoft/vscode/blob/45324363153075dab0482312ae24d8c068d81e4f/extensions/html/syntaxes/html.tmLanguage.json) | [MIT](https://raw.githubusercontent.com/microsoft/vscode/main/LICENSE.txt) | `javascript` `css` | 58.09 kB | | `html-derivative` | | [microsoft/vscode](https://github.com/microsoft/vscode/blob/cfc2a2212de9ea10943af58ebd1817a5ad196463/extensions/html/syntaxes/html-derivative.tmLanguage.json) | [MIT](https://raw.githubusercontent.com/microsoft/vscode/main/LICENSE.txt) | `html` | 777.00 B | | `http` | | [Huachao/vscode-restclient](https://github.com/Huachao/vscode-restclient/blob/a89f8bce1b5e3d5bd955f10916b0c101e20431d3/syntaxes/http.tmLanguage.json) | [MIT](https://raw.githubusercontent.com/Huachao/vscode-restclient/master/LICENSE) | `shellscript` `json` `xml` `graphql` | 3.96 kB | | `hxml` | | [vshaxe/haxe-TmLanguage](https://github.com/vshaxe/haxe-TmLanguage/blob/cf8117cb69876af5fbac537860ffc73928fe2571/hxml.YAML-tmLanguage) | [MIT](https://raw.githubusercontent.com/vshaxe/haxe-TmLanguage/master/LICENSE.md) | `haxe` | 1.63 kB | | `hy` | | [hylang/vscode-hy](https://github.com/hylang/vscode-hy/blob/cc97e60245af508c5c81fe4cda51ac6bc9083082/syntaxes/hy.tmLanguage.json) | [MIT](https://raw.githubusercontent.com/hylang/vscode-hy/master/LICENSE.md) | | 3.05 kB | -| `imba` | | [imba/imba](https://github.com/imba/imba/blob/980c223d8da94939499ad8a92c4e31a6edd4fd54/packages/vscode-imba/syntaxes/imba.tmLanguage.json) | [MIT](https://raw.githubusercontent.com/imba/imba/master/LICENSE) | `typescript` | 48.40 kB | +| `imba` | | [imba/imba](https://github.com/imba/imba/blob/980c223d8da94939499ad8a92c4e31a6edd4fd54/packages/vscode-imba/syntaxes/imba.tmLanguage.json) | [MIT](https://raw.githubusercontent.com/imba/imba/master/LICENSE) | `typescript` | 49.57 kB | | `ini` | `properties` | [microsoft/vscode](https://github.com/microsoft/vscode/blob/8fdf170a0850c1cc027382f31650aaf300d3ae2a/extensions/ini/syntaxes/ini.tmLanguage.json) | [MIT](https://raw.githubusercontent.com/microsoft/vscode/main/LICENSE.txt) | | 1.38 kB | | `java` | | [microsoft/vscode](https://github.com/microsoft/vscode/blob/3c86ede5f554f6e196c832394e126b291a1de606/extensions/java/syntaxes/java.tmLanguage.json) | [MIT](https://raw.githubusercontent.com/microsoft/vscode/main/LICENSE.txt) | | 25.93 kB | | `javascript` | `js` | [microsoft/vscode](https://github.com/microsoft/vscode/blob/35d97bc7e439fce0f50f42074041ab2d8571b20a/extensions/javascript/syntaxes/JavaScript.tmLanguage.json) | [MIT](https://raw.githubusercontent.com/microsoft/vscode/main/LICENSE.txt) | | 166.11 kB | | `jinja` | | [samuelcolvin/jinjahtml-vscode](https://github.com/samuelcolvin/jinjahtml-vscode/blob/be729c88f723602e7b5df2e9dc5e8c016c31c38f/syntaxes/jinja.tmLanguage.json) | [MIT](https://raw.githubusercontent.com/samuelcolvin/jinjahtml-vscode/main/LICENSE) | `jinja-html` | 4.69 kB | | `jison` | | [cdibbs/language-jison](https://github.com/cdibbs/language-jison/blob/9d4cb4b044832320a51fabb6e533fc299425f552/grammars/jison.cson) | [MIT](https://raw.githubusercontent.com/cdibbs/language-jison/master/LICENSE.md) | `javascript` | 9.13 kB | | `json` | | [microsoft/vscode](https://github.com/microsoft/vscode/blob/d6af4893ed9a3545163a4cb748fa5548bd1e51a5/extensions/json/syntaxes/JSON.tmLanguage.json) | [MIT](https://raw.githubusercontent.com/microsoft/vscode/main/LICENSE.txt) | | 2.72 kB | -| `json5` | | [mrmlnc/vscode-json5](https://github.com/mrmlnc/vscode-json5/blob/e884b89929103ff009322c393080ff45a4544e88/syntaxes/json5.json) | [MIT](https://raw.githubusercontent.com/mrmlnc/vscode-json5/master/LICENSE) | | 3.35 kB | +| `json5` | | [mrmlnc/vscode-json5](https://github.com/mrmlnc/vscode-json5/blob/e884b89929103ff009322c393080ff45a4544e88/syntaxes/json5.json) | [MIT](https://raw.githubusercontent.com/mrmlnc/vscode-json5/master/LICENSE) | | 3.32 kB | | `jsonc` | | [microsoft/vscode](https://github.com/microsoft/vscode/blob/0adddd82816db666c52038e8277312dc55da2756/extensions/json/syntaxes/JSONC.tmLanguage.json) | [MIT](https://raw.githubusercontent.com/microsoft/vscode/main/LICENSE.txt) | | 3.00 kB | | `jsonl` | | [microsoft/vscode](https://github.com/microsoft/vscode/blob/0adddd82816db666c52038e8277312dc55da2756/extensions/json/syntaxes/JSONL.tmLanguage.json) | [MIT](https://raw.githubusercontent.com/microsoft/vscode/main/LICENSE.txt) | | 2.91 kB | | `jsonnet` | | [heptio/vscode-jsonnet](https://github.com/heptio/vscode-jsonnet/blob/39088f9cde9f483c8e0efeb67a3fd561cd873aad/syntaxes/jsonnet.tmLanguage.json) | [Apache-2.0](https://raw.githubusercontent.com/heptio/vscode-jsonnet/master/LICENSE) | | 3.32 kB | @@ -132,13 +132,13 @@ import { grammars } from 'tm-grammars' | `lua` | | [microsoft/vscode](https://github.com/microsoft/vscode/blob/5c213a1e84928c7a7d11ca5b282ca602d40c1352/extensions/lua/syntaxes/lua.tmLanguage.json) | [MIT](https://raw.githubusercontent.com/microsoft/vscode/main/LICENSE.txt) | `c` | 14.41 kB | | `luau` | | [JohnnyMorganz/Luau.tmLanguage](https://github.com/JohnnyMorganz/Luau.tmLanguage/blob/5febad569516f7a3a587b59389fc2cdc40bff972/Luau.tmLanguage) | [NOASSERTION](https://raw.githubusercontent.com/JohnnyMorganz/Luau.tmLanguage/main/LICENSE.md) | | 12.01 kB | | `make` | `makefile` | [microsoft/vscode](https://github.com/microsoft/vscode/blob/91db8ea85fee30ebb3c7a5e7939aa2a8d79811c5/extensions/make/syntaxes/make.tmLanguage.json) | [MIT](https://raw.githubusercontent.com/microsoft/vscode/main/LICENSE.txt) | | 8.45 kB | -| `markdown` | `md` | [microsoft/vscode](https://github.com/microsoft/vscode/blob/1cd7cf5decbe06cb42efdb03c44d19e4f9b2ba58/extensions/markdown-basics/syntaxes/markdown.tmLanguage.json) | [MIT](https://raw.githubusercontent.com/microsoft/vscode/main/LICENSE.txt) | `css` `html` `ini` `java` `lua` `make` `perl` `r` `ruby` `php` `sql` `vb` `xml` `xsl` `yaml` `bat` `clojure` `coffee` `c` `cpp` `diff` `docker` `git-commit` `git-rebase` `go` `groovy` `pug` `javascript` `json` `jsonc` `less` `objective-c` `swift` `scss` `raku` `powershell` `python` `julia` `regexp` `rust` `scala` `shellscript` `typescript` `tsx` `csharp` `fsharp` `dart` `handlebars` `log` `erlang` `elixir` `latex` `bibtex` `html-derivative` | 52.62 kB | +| `markdown` | `md` | [microsoft/vscode](https://github.com/microsoft/vscode/blob/1cd7cf5decbe06cb42efdb03c44d19e4f9b2ba58/extensions/markdown-basics/syntaxes/markdown.tmLanguage.json) | [MIT](https://raw.githubusercontent.com/microsoft/vscode/main/LICENSE.txt) | `css` `html` `ini` `java` `lua` `make` `perl` `r` `ruby` `php` `sql` `vb` `xml` `xsl` `yaml` `bat` `clojure` `coffee` `c` `cpp` `diff` `docker` `git-commit` `git-rebase` `go` `groovy` `pug` `javascript` `json` `jsonc` `less` `objective-c` `swift` `scss` `raku` `powershell` `python` `julia` `regexp` `rust` `scala` `shellscript` `typescript` `tsx` `csharp` `fsharp` `dart` `handlebars` `log` `erlang` `elixir` `latex` `bibtex` `html-derivative` | 52.58 kB | | `marko` | | [marko-js/marko-tmbundle](https://github.com/marko-js/marko-tmbundle/blob/dd3a0c39e656bedd276d3bcbdea92a2d627755c7/Syntaxes/marko.tmLanguage) | [MIT](https://raw.githubusercontent.com/marko-js/marko-tmbundle/master/LICENSE) | `css` `less` `scss` `javascript` | 18.29 kB | -| `matlab` | | [mathworks/MATLAB-Language-grammar](https://github.com/mathworks/MATLAB-Language-grammar/blob/69dbf20c1eb19efd629c0438a2a493e60617e8de/Matlab.tmbundle/Syntaxes/MATLAB.tmLanguage) | | | 19.24 kB | +| `matlab` | | [mathworks/MATLAB-Language-grammar](https://github.com/mathworks/MATLAB-Language-grammar/blob/69dbf20c1eb19efd629c0438a2a493e60617e8de/Matlab.tmbundle/Syntaxes/MATLAB.tmLanguage) | | | 19.11 kB | | `mdc` | | [nuxtlabs/vscode-mdc](https://github.com/nuxtlabs/vscode-mdc/blob/6294dbce9706f538a521e7dccce9609e928dc3be/syntaxes/mdc.tmLanguage.json) | [MIT](https://raw.githubusercontent.com/nuxtlabs/vscode-mdc/main/LICENSE) | `markdown` `yaml` `html-derivative` | 18.85 kB | | `mdx` | | [wooorm/markdown-tm-language](https://github.com/wooorm/markdown-tm-language/blob/3f11836d11ca5ed41431ecd53dca7710c2c823ce/source.mdx.tmLanguage) | [MIT](https://raw.githubusercontent.com/wooorm/markdown-tm-language/main/license) | `tsx` `toml` `yaml` `c` `clojure` `coffee` `cpp` `csharp` `css` `diff` `docker` `elixir` `elm` `erlang` `go` `graphql` `haskell` `html` `ini` `java` `javascript` `json` `julia` `kotlin` `less` `lua` `make` `markdown` `objective-c` `perl` `python` `r` `ruby` `rust` `scala` `scss` `shellscript` `shellsession` `sql` `xml` `swift` `typescript` | 129.70 kB | | `mermaid` | | [bpruitt-goddard/vscode-mermaid-syntax-highlight](https://github.com/bpruitt-goddard/vscode-mermaid-syntax-highlight/blob/8b62f487cb7a89afcd152febfbf47f5d4787657f/syntaxes/mermaid.tmLanguage.yaml) | [MIT](https://raw.githubusercontent.com/bpruitt-goddard/vscode-mermaid-syntax-highlight/master/LICENSE) | | 27.99 kB | -| `mojo` | | [modularml/mojo-syntax](https://github.com/modularml/mojo-syntax/blob/46eccdaeda2b1587e9b82808cdb35670f359d16d/syntaxes/mojo.syntax.json) | [MIT](https://raw.githubusercontent.com/modularml/mojo-syntax/main/LICENSE) | | 70.12 kB | +| `mojo` | | [modularml/mojo-syntax](https://github.com/modularml/mojo-syntax/blob/46eccdaeda2b1587e9b82808cdb35670f359d16d/syntaxes/mojo.syntax.json) | [MIT](https://raw.githubusercontent.com/modularml/mojo-syntax/main/LICENSE) | | 68.74 kB | | `move` | | [damirka/move-syntax](https://github.com/damirka/move-syntax/blob/ff3b79424638c8904787cd388b9823b546f5dd79/syntaxes/move.tmLanguage.json) | [MIT](https://raw.githubusercontent.com/damirka/move-syntax/main/LICENSE) | | 18.98 kB | | `narrat` | `nar` | [liana-p/narrat-syntax-highlighting-vscode](https://github.com/liana-p/narrat-syntax-highlighting-vscode/blob/00d4b410338fc50ca0ce77a1f7e873c1fb66d376/syntaxes/narrat.tmLanguage.yaml) | [MIT](https://raw.githubusercontent.com/liana-p/narrat-syntax-highlighting-vscode/main/LICENSE) | | 3.39 kB | | `nextflow` | `nf` | [nextflow-io/vscode-language-nextflow](https://github.com/nextflow-io/vscode-language-nextflow/blob/7eeb9be8d01556b7c51c59307275c2f720f2ddf4/syntaxes/nextflow.tmLanguage.json) | [MIT](https://raw.githubusercontent.com/nextflow-io/vscode-language-nextflow/master/LICENSE.md) | | 4.40 kB | @@ -146,12 +146,12 @@ import { grammars } from 'tm-grammars' | `nim` | | [pragmagic/vscode-nim](https://github.com/pragmagic/vscode-nim/blob/0272a0544ddf147fde98f8a8f2b624b7dcb19eb3/syntaxes/nim.json) | [NOASSERTION](https://raw.githubusercontent.com/pragmagic/vscode-nim/master/LICENSE) | `c` `html` `xml` `javascript` `css` `glsl` `markdown` | 21.80 kB | | `nix` | | [nix-community/vscode-nix-ide](https://github.com/nix-community/vscode-nix-ide/blob/cd420d0bcea26cf1cf650f47c738bd1b6658a80c/syntaxes/nix.YAML-tmLanguage) | [MIT](https://raw.githubusercontent.com/nix-community/vscode-nix-ide/main/LICENSE) | | 14.36 kB | | `nushell` | `nu` | [nushell/vscode-nushell-lang](https://github.com/nushell/vscode-nushell-lang/blob/359e3a69c516c996e5bcd7161290f78feaebbbfb/syntaxes/nushell.tmLanguage.json) | [MIT](https://raw.githubusercontent.com/nushell/vscode-nushell-lang/main/LICENSE) | | 18.38 kB | -| `objective-c` | `objc` | [microsoft/vscode](https://github.com/microsoft/vscode/blob/bd1abe08c38bb5deccf65610f8f3c03d2338d20d/extensions/objective-c/syntaxes/objective-c.tmLanguage.json) | [MIT](https://raw.githubusercontent.com/microsoft/vscode/main/LICENSE.txt) | | 103.45 kB | +| `objective-c` | `objc` | [microsoft/vscode](https://github.com/microsoft/vscode/blob/bd1abe08c38bb5deccf65610f8f3c03d2338d20d/extensions/objective-c/syntaxes/objective-c.tmLanguage.json) | [MIT](https://raw.githubusercontent.com/microsoft/vscode/main/LICENSE.txt) | | 103.44 kB | | `objective-cpp` | | [microsoft/vscode](https://github.com/microsoft/vscode/blob/bd1abe08c38bb5deccf65610f8f3c03d2338d20d/extensions/objective-c/syntaxes/objective-c++.tmLanguage.json) | [MIT](https://raw.githubusercontent.com/microsoft/vscode/main/LICENSE.txt) | | 168.24 kB | | `ocaml` | | [reasonml-editor/vscode-reasonml](https://github.com/reasonml-editor/vscode-reasonml/blob/14af625ec50ed9968b957b4d6336c5338d81af45/syntaxes/ocaml.json) | [Apache-2.0](https://raw.githubusercontent.com/reasonml-editor/vscode-reasonml/master/LICENSE) | | 60.43 kB | | `pascal` | | [alefragnani/vscode-language-pascal](https://github.com/alefragnani/vscode-language-pascal/blob/61eeb938406a9ea13cee804b054d83457a5aa104/syntaxes/pascal.tmLanguage) | [MIT](https://raw.githubusercontent.com/alefragnani/vscode-language-pascal/master/LICENSE.md) | | 3.91 kB | | `perl` | | [microsoft/vscode](https://github.com/microsoft/vscode/blob/e637ff1bf7f481134849625e982ec80df9b35bc8/extensions/perl/syntaxes/perl.tmLanguage.json) | [MIT](https://raw.githubusercontent.com/microsoft/vscode/main/LICENSE.txt) | `html` `xml` `css` `javascript` `sql` | 41.97 kB | -| `php` | | [microsoft/vscode](https://github.com/microsoft/vscode/blob/06401b39b18c5e7d1c021a619fa387d654033606/extensions/php/syntaxes/php.tmLanguage.json) | [MIT](https://raw.githubusercontent.com/microsoft/vscode/main/LICENSE.txt) | `html` `xml` `sql` `javascript` `json` `css` | 105.06 kB | +| `php` | | [microsoft/vscode](https://github.com/microsoft/vscode/blob/06401b39b18c5e7d1c021a619fa387d654033606/extensions/php/syntaxes/php.tmLanguage.json) | [MIT](https://raw.githubusercontent.com/microsoft/vscode/main/LICENSE.txt) | `html` `xml` `sql` `javascript` `json` `css` | 107.02 kB | | `plsql` | | [zabel-xyz/plsql-language](https://github.com/zabel-xyz/plsql-language/blob/256a6b8f04f2bdc5e60ce921646a5068957078d7/syntaxes/plsql.tmLanguage) | [MIT](https://raw.githubusercontent.com/zabel-xyz/plsql-language/master/LICENSE) | | 7.99 kB | | `po` | `pot` `potx` | [textmate/gettext.tmbundle](https://github.com/textmate/gettext.tmbundle/blob/08bb69558d82ada8d4f36b8869f871ce69014749/Syntaxes/Gettext.tmLanguage) | | | 3.09 kB | | `postcss` | | [vuejs/vetur](https://github.com/vuejs/vetur/blob/8ccae3ba50b65837d4cd4acc71a3b84cd3bee27c/syntaxes/vue-postcss.json) | [MIT](https://raw.githubusercontent.com/vuejs/vetur/master/LICENSE) | | 6.11 kB | @@ -161,18 +161,18 @@ import { grammars } from 'tm-grammars' | `prolog` | | [arthwang/vsc-prolog](https://github.com/arthwang/vsc-prolog/blob/5e15f731d5ef8e0f3974589b84ddefe6a2bf78c7/syntaxes/prolog.swi.tmLanguage.json) | [MIT](https://raw.githubusercontent.com/arthwang/vsc-prolog/master/LICENSE.txt) | | 11.02 kB | | `proto` | `protobuf` | [zxh0/vscode-proto3](https://github.com/zxh0/vscode-proto3/blob/ead0fb5f46a56adbe30d5a8a63d68e7131912159/syntaxes/proto3.tmLanguage.json) | [MIT](https://raw.githubusercontent.com/zxh0/vscode-proto3/master/LICENSE.txt) | | 6.13 kB | | `pug` | `jade` | [microsoft/vscode](https://github.com/microsoft/vscode/blob/6ac83c7c7dda9f27ca1fe9d98675253e010b75d1/extensions/pug/syntaxes/pug.tmLanguage.json) | [MIT](https://raw.githubusercontent.com/microsoft/vscode/main/LICENSE.txt) | `javascript` `css` `sass` `scss` `stylus` `coffee` `html` | 13.69 kB | -| `puppet` | | [octref/puppet-vscode](https://github.com/octref/puppet-vscode/blob/42e02ef6c02aefb0dcf03f8367fdc106d7213a6c/syntaxes/puppet.tmLanguage) | [Apache-2.0](https://raw.githubusercontent.com/octref/puppet-vscode/main/LICENSE) | | 11.25 kB | +| `puppet` | | [octref/puppet-vscode](https://github.com/octref/puppet-vscode/blob/42e02ef6c02aefb0dcf03f8367fdc106d7213a6c/syntaxes/puppet.tmLanguage) | [Apache-2.0](https://raw.githubusercontent.com/octref/puppet-vscode/main/LICENSE) | | 11.02 kB | | `purescript` | | [nwolverson/vscode-language-purescript](https://github.com/nwolverson/vscode-language-purescript/blob/07a2aa7ad8c77e84de327fb5aa19d74b86df60f8/syntaxes/purescript.json) | [NOASSERTION](https://raw.githubusercontent.com/nwolverson/vscode-language-purescript/master/LICENSE.md) | | 15.48 kB | -| `python` | `py` | [microsoft/vscode](https://github.com/microsoft/vscode/blob/cf4c9e469d521fa5f33353737e8157eb0789ad02/extensions/python/syntaxes/MagicPython.tmLanguage.json) | [MIT](https://raw.githubusercontent.com/microsoft/vscode/main/LICENSE.txt) | | 71.00 kB | +| `python` | `py` | [microsoft/vscode](https://github.com/microsoft/vscode/blob/cf4c9e469d521fa5f33353737e8157eb0789ad02/extensions/python/syntaxes/MagicPython.tmLanguage.json) | [MIT](https://raw.githubusercontent.com/microsoft/vscode/main/LICENSE.txt) | | 69.59 kB | | `qml` | | [seanwu1105/vscode-qt-for-python](https://github.com/seanwu1105/vscode-qt-for-python/blob/51408001e908800c00ce9f68f66e511545ea29fe/syntaxes/qml.tmLanguage.json) | [MIT](https://raw.githubusercontent.com/seanwu1105/vscode-qt-for-python/master/LICENSE) | `javascript` | 4.96 kB | | `qmldir` | | [seanwu1105/vscode-qt-for-python](https://github.com/seanwu1105/vscode-qt-for-python/blob/b301e7b18493ba59c4f52e49c3f73b6cd23d4c4b/syntaxes/qmldir.tmLanguage.json) | [MIT](https://raw.githubusercontent.com/seanwu1105/vscode-qt-for-python/master/LICENSE) | | 902.00 B | | `qss` | | [seanwu1105/vscode-qt-for-python](https://github.com/seanwu1105/vscode-qt-for-python/blob/f0a56a97d10f58ab7b4b6e2ab6ce34ca4c9d521d/syntaxes/qss.tmLanguage.json) | [MIT](https://raw.githubusercontent.com/seanwu1105/vscode-qt-for-python/master/LICENSE) | | 7.46 kB | | `r` | | [microsoft/vscode](https://github.com/microsoft/vscode/blob/fa22e9ac36d5d37ef096679927179091ba7f6966/extensions/r/syntaxes/r.tmLanguage.json) | [MIT](https://raw.githubusercontent.com/microsoft/vscode/main/LICENSE.txt) | | 33.82 kB | -| `racket` | | [Eugleo/magic-racket](https://github.com/Eugleo/magic-racket/blob/6a4d9934b3ec523162ab0243b5cb0e785316507a/syntaxes/racket.tmLanguage.json) | [GPL-3.0](https://raw.githubusercontent.com/Eugleo/magic-racket/master/LICENSE) | | 102.92 kB | +| `racket` | | [Eugleo/magic-racket](https://github.com/Eugleo/magic-racket/blob/6a4d9934b3ec523162ab0243b5cb0e785316507a/syntaxes/racket.tmLanguage.json) | [GPL-3.0](https://raw.githubusercontent.com/Eugleo/magic-racket/master/LICENSE) | | 91.40 kB | | `raku` | `perl6` | [microsoft/vscode](https://github.com/microsoft/vscode/blob/8fdf170a0850c1cc027382f31650aaf300d3ae2a/extensions/perl/syntaxes/perl6.tmLanguage.json) | [MIT](https://raw.githubusercontent.com/microsoft/vscode/main/LICENSE.txt) | | 10.05 kB | | `razor` | | [dotnet/razor](https://github.com/dotnet/razor/blob/39159764277f3c80a786d8872eba7730da3d7ef0/src/Razor/src/Microsoft.VisualStudio.RazorExtension/EmbeddedGrammars/aspnetcorerazor.tmLanguage.json) | [MIT](https://raw.githubusercontent.com/dotnet/razor/main/LICENSE.txt) | `html` `csharp` | 24.37 kB | | `reg` | | [mihai-vlc/reg-vscode](https://github.com/mihai-vlc/reg-vscode/blob/896096fc6756329d82c71a913663a1c0ac678f74/syntaxes/reg.tmLanguage) | [MIT](https://raw.githubusercontent.com/mihai-vlc/reg-vscode/master/LICENSE) | | 2.20 kB | -| `regexp` | `regex` | [MagicStack/MagicPython](https://github.com/MagicStack/MagicPython/blob/c9b3409deb69acec31bbf7913830e93a046b30cc/grammars/MagicRegExp.tmLanguage) | [MIT](https://raw.githubusercontent.com/MagicStack/MagicPython/master/LICENSE) | | 7.62 kB | +| `regexp` | `regex` | [MagicStack/MagicPython](https://github.com/MagicStack/MagicPython/blob/c9b3409deb69acec31bbf7913830e93a046b30cc/grammars/MagicRegExp.tmLanguage) | [MIT](https://raw.githubusercontent.com/MagicStack/MagicPython/master/LICENSE) | | 7.61 kB | | `rel` | | [relationalai-oss/rel_vscode](https://github.com/relationalai-oss/rel_vscode/blob/63dda4dee48c67b037357f47b562185484555ea9/syntaxes/rel.tmLanguage.json) | | | 3.18 kB | | `riscv` | | [zhuanhao-wu/vscode-riscv-support](https://github.com/zhuanhao-wu/vscode-riscv-support/blob/2736b60e45ff2ef738d784055e136cf38d6290cd/syntaxes/riscv.tmLanguage) | [MIT](https://raw.githubusercontent.com/zhuanhao-wu/vscode-riscv-support/master/LICENSE) | | 7.01 kB | | `rst` | | [microsoft/vscode](https://github.com/microsoft/vscode/blob/48e93f756b764991ede33ad09781a863aca6907a/extensions/restructuredtext/syntaxes/rst.tmLanguage.json) | [MIT](https://raw.githubusercontent.com/microsoft/vscode/main/LICENSE.txt) | `html-derivative` `cpp` `python` `javascript` `shellscript` `yaml` `cmake` `ruby` | 9.03 kB | @@ -182,7 +182,7 @@ import { grammars } from 'tm-grammars' | `sass` | | [TheRealSyler/vscode-sass-indented](https://github.com/TheRealSyler/vscode-sass-indented/blob/7b0bd6bbbb768c0cf21b2aa0899cb872ee42fd50/syntaxes/sass.tmLanguage.json) | [NOASSERTION](https://raw.githubusercontent.com/TheRealSyler/vscode-sass-indented/master/LICENSE) | | 8.84 kB | | `scala` | | [scala/vscode-scala-syntax](https://github.com/scala/vscode-scala-syntax/blob/1addd66a1bcb65510348ee6dddb5acfcf51f4fba/syntaxes/Scala.tmLanguage.json) | [MIT](https://raw.githubusercontent.com/scala/vscode-scala-syntax/main/LICENSE.md) | | 26.85 kB | | `scheme` | | [sjhuangx/vscode-scheme](https://github.com/sjhuangx/vscode-scheme/blob/4e21683666e1e2edfa21d040ecd427f628e7b5ff/syntaxes/scheme.tmLanguage) | [MIT](https://raw.githubusercontent.com/sjhuangx/vscode-scheme/master/LICENSE.md) | | 8.09 kB | -| `scss` | | [microsoft/vscode](https://github.com/microsoft/vscode/blob/cf8d61ebd2f022f4ce8280171f0360d1fe0a206d/extensions/scss/syntaxes/scss.tmLanguage.json) | [MIT](https://raw.githubusercontent.com/microsoft/vscode/main/LICENSE.txt) | `css` | 26.04 kB | +| `scss` | | [microsoft/vscode](https://github.com/microsoft/vscode/blob/cf8d61ebd2f022f4ce8280171f0360d1fe0a206d/extensions/scss/syntaxes/scss.tmLanguage.json) | [MIT](https://raw.githubusercontent.com/microsoft/vscode/main/LICENSE.txt) | `css` | 26.67 kB | | `shaderlab` | `shader` | [microsoft/vscode](https://github.com/microsoft/vscode/blob/8fdf170a0850c1cc027382f31650aaf300d3ae2a/extensions/shaderlab/syntaxes/shaderlab.tmLanguage.json) | [MIT](https://raw.githubusercontent.com/microsoft/vscode/main/LICENSE.txt) | `hlsl` | 5.83 kB | | `shellscript` | `bash` `sh` `shell` `zsh` | [microsoft/vscode](https://github.com/microsoft/vscode/blob/9473445f7d3dcb5c579f42ece8b6c18c43c63ed3/extensions/shellscript/syntaxes/shell-unix-bash.tmLanguage.json) | [MIT](https://raw.githubusercontent.com/microsoft/vscode/main/LICENSE.txt) | | 40.04 kB | | `shellsession` | `console` | [hronro/sublime-linguist-syntax](https://github.com/hronro/sublime-linguist-syntax/blob/9c84f1d69dbe89bc23292f129cf2d408a9c7afe1/syntaxes/ShellSession.tmLanguage) | [MIT](https://raw.githubusercontent.com/hronro/sublime-linguist-syntax/master/LICENSE) | `shellscript` | 519.00 B | @@ -191,12 +191,12 @@ import { grammars } from 'tm-grammars' | `soy` | `closure-templates` | [mthadley/language-closure-templates](https://github.com/mthadley/language-closure-templates/blob/7caf3a1fad0245c4196d3766ba0f481762fbc92e/grammars/closure-templates.json) | [MIT](https://raw.githubusercontent.com/mthadley/language-closure-templates/master/LICENSE) | `html` | 6.39 kB | | `sparql` | | [stardog-union/stardog-vsc](https://github.com/stardog-union/stardog-vsc/blob/a1963c610cde0eab23c44fc01ab36652565524de/stardog-rdf-grammars/syntaxes/sparql.tmLanguage.json) | | `turtle` | 1.32 kB | | `splunk` | `spl` | [arcsector/vscode-splunk-search-syntax](https://github.com/arcsector/vscode-splunk-search-syntax/blob/b1f68ff035950e6a98e0db4af1a338cb1c3c1858/syntaxes/splunk_search.tmLanguage) | [MIT](https://raw.githubusercontent.com/arcsector/vscode-splunk-search-syntax/master/LICENSE.txt) | | 3.61 kB | -| `sql` | | [microsoft/vscode](https://github.com/microsoft/vscode/blob/3c86ede5f554f6e196c832394e126b291a1de606/extensions/sql/syntaxes/sql.tmLanguage.json) | [MIT](https://raw.githubusercontent.com/microsoft/vscode/main/LICENSE.txt) | | 22.84 kB | +| `sql` | | [microsoft/vscode](https://github.com/microsoft/vscode/blob/3c86ede5f554f6e196c832394e126b291a1de606/extensions/sql/syntaxes/sql.tmLanguage.json) | [MIT](https://raw.githubusercontent.com/microsoft/vscode/main/LICENSE.txt) | | 23.14 kB | | `ssh-config` | | [textmate/ssh-config.tmbundle](https://github.com/textmate/ssh-config.tmbundle/blob/212a0000c50e0c877303b2c4fcead539d2af2670/Syntaxes/SSH-Config.tmLanguage) | | | 3.42 kB | | `stata` | | [kylebarron/language-stata](https://github.com/kylebarron/language-stata/blob/dd98de502bc1bf2a205f3f023afb98c7aa5b42ee/grammars/stata.json) | [MIT](https://raw.githubusercontent.com/kylebarron/language-stata/master/LICENSE) | `sql` | 58.06 kB | -| `stylus` | `styl` | [d4rkr00t/language-stylus](https://github.com/d4rkr00t/language-stylus/blob/198a851f385aee857332f3ce5dd981ff67720ead/syntaxes/stylus.json) | [MIT](https://raw.githubusercontent.com/d4rkr00t/language-stylus/master/LICENSE) | | 30.12 kB | +| `stylus` | `styl` | [d4rkr00t/language-stylus](https://github.com/d4rkr00t/language-stylus/blob/198a851f385aee857332f3ce5dd981ff67720ead/syntaxes/stylus.json) | [MIT](https://raw.githubusercontent.com/d4rkr00t/language-stylus/master/LICENSE) | | 30.11 kB | | `svelte` | | [sveltejs/language-tools](https://github.com/sveltejs/language-tools/blob/64d7b773adfb136b0f4b59e31d03eea7ada1d508/packages/svelte-vscode/syntaxes/svelte.tmLanguage.src.yaml) | [MIT](https://raw.githubusercontent.com/sveltejs/language-tools/master/LICENSE) | `javascript` `typescript` `coffee` `stylus` `sass` `css` `scss` `less` `postcss` `pug` `markdown` | 15.71 kB | -| `swift` | | [microsoft/vscode](https://github.com/microsoft/vscode/blob/ed4e6eda599f37bac9a11952403a6e63fd4f5a4d/extensions/swift/syntaxes/swift.tmLanguage.json) | [MIT](https://raw.githubusercontent.com/microsoft/vscode/main/LICENSE.txt) | | 91.67 kB | +| `swift` | | [microsoft/vscode](https://github.com/microsoft/vscode/blob/ed4e6eda599f37bac9a11952403a6e63fd4f5a4d/extensions/swift/syntaxes/swift.tmLanguage.json) | [MIT](https://raw.githubusercontent.com/microsoft/vscode/main/LICENSE.txt) | | 91.25 kB | | `system-verilog` | | [mshr-h/vscode-verilog-hdl-support](https://github.com/mshr-h/vscode-verilog-hdl-support/blob/8d7c8f5f3232f63d43830143afc034318832291e/syntaxes/systemverilog.tmLanguage.json) | [MIT](https://raw.githubusercontent.com/mshr-h/vscode-verilog-hdl-support/main/LICENSE) | | 24.59 kB | | `systemd` | | [hangxingliu/vscode-systemd](https://github.com/hangxingliu/vscode-systemd/blob/bb87cf9d8f7f9da36fbc5bf80683062b2558ed80/src/syntax/systemd.tmLanguage) | [MIT](https://raw.githubusercontent.com/hangxingliu/vscode-systemd/main/LICENSE) | | 7.44 kB | | `tasl` | | [underlay/vscode-tasl](https://github.com/underlay/vscode-tasl/blob/dde4b7c0b762c2e667584095362dd49ebfacece7/syntaxes/tasl.tmLanguage.json) | [MIT](https://raw.githubusercontent.com/underlay/vscode-tasl/main/LICENSE) | | 3.21 kB | @@ -204,12 +204,12 @@ import { grammars } from 'tm-grammars' | `templ` | | [templ-go/templ-vscode](https://github.com/templ-go/templ-vscode/blob/4f85ade86dba0ecabd80fe6e845653a0a4aed5bf/syntaxes/templ.tmLanguage.json) | [MIT](https://raw.githubusercontent.com/templ-go/templ-vscode/main/LICENSE) | `go` `javascript` `css` | 22.70 kB | | `terraform` | `tf` `tfvars` | [hashicorp/syntax](https://github.com/hashicorp/syntax/blob/c693badea4d460d1c05b8d2ab0c88bad143da3f1/syntaxes/terraform.tmGrammar.json) | [MPL-2.0](https://raw.githubusercontent.com/hashicorp/syntax/main/LICENSE) | | 12.57 kB | | `tex` | | [microsoft/vscode](https://github.com/microsoft/vscode/blob/b8e3432a0b7dd11ffd0c832fad6a6c51e809013c/extensions/latex/syntaxes/TeX.tmLanguage.json) | [MIT](https://raw.githubusercontent.com/microsoft/vscode/main/LICENSE.txt) | `r` | 8.77 kB | -| `toml` | | [textmate/toml.tmbundle](https://github.com/textmate/toml.tmbundle/blob/e82b64c1e86396220786846201e9aa3f0a2d9ca2/Syntaxes/TOML.tmLanguage) | | | 6.14 kB | +| `toml` | | [textmate/toml.tmbundle](https://github.com/textmate/toml.tmbundle/blob/e82b64c1e86396220786846201e9aa3f0a2d9ca2/Syntaxes/TOML.tmLanguage) | | | 6.08 kB | | `ts-tags` | `lit` | - | | `typescript` `es-tag-css` `es-tag-glsl` `es-tag-html` `es-tag-sql` `es-tag-xml` | 121.00 B | | `tsv` | | [mechatroner/vscode_rainbow_csv](https://github.com/mechatroner/vscode_rainbow_csv/blob/00d4c947f1bbe6a4a73599bd97fb31bdfbe262f3/syntaxes/tsv.tmLanguage.json) | [MIT](https://raw.githubusercontent.com/mechatroner/vscode_rainbow_csv/master/LICENSE) | | 633.00 B | -| `tsx` | | [microsoft/vscode](https://github.com/microsoft/vscode/blob/35d97bc7e439fce0f50f42074041ab2d8571b20a/extensions/typescript-basics/syntaxes/TypeScriptReact.tmLanguage.json) | [MIT](https://raw.githubusercontent.com/microsoft/vscode/main/LICENSE.txt) | | 166.83 kB | +| `tsx` | | [microsoft/vscode](https://github.com/microsoft/vscode/blob/35d97bc7e439fce0f50f42074041ab2d8571b20a/extensions/typescript-basics/syntaxes/TypeScriptReact.tmLanguage.json) | [MIT](https://raw.githubusercontent.com/microsoft/vscode/main/LICENSE.txt) | | 166.82 kB | | `turtle` | | [stardog-union/stardog-vsc](https://github.com/stardog-union/stardog-vsc/blob/3f1364b08bdbf4b4d77f123682db7d2b708b2f6e/stardog-rdf-grammars/syntaxes/turtle.tmLanguage.json) | | | 3.50 kB | -| `twig` | | [mblode/vscode-twig-language-2](https://github.com/mblode/vscode-twig-language-2/blob/82ae07ffe96656181ad8265c1fff008c8d1cdbba/src/syntaxes/twig.tmLanguage) | [MIT](https://raw.githubusercontent.com/mblode/vscode-twig-language-2/master/LICENSE.md) | `css` `javascript` `scss` `php` `python` `ruby` | 20.58 kB | +| `twig` | | [mblode/vscode-twig-language-2](https://github.com/mblode/vscode-twig-language-2/blob/82ae07ffe96656181ad8265c1fff008c8d1cdbba/src/syntaxes/twig.tmLanguage) | [MIT](https://raw.githubusercontent.com/mblode/vscode-twig-language-2/master/LICENSE.md) | `css` `javascript` `scss` `php` `python` `ruby` | 20.93 kB | | `typescript` | `ts` | [microsoft/vscode](https://github.com/microsoft/vscode/blob/35d97bc7e439fce0f50f42074041ab2d8571b20a/extensions/typescript-basics/syntaxes/TypeScript.tmLanguage.json) | [MIT](https://raw.githubusercontent.com/microsoft/vscode/main/LICENSE.txt) | | 172.79 kB | | `typespec` | `tsp` | [microsoft/typespec](https://github.com/microsoft/typespec/blob/675e6d480db6366c312e4279da0e3bca5b1be04f/grammars/typespec.json) | [MIT](https://raw.githubusercontent.com/microsoft/typespec/main/LICENSE) | | 26.21 kB | | `typst` | `typ` | [nvarner/typst-lsp](https://github.com/nvarner/typst-lsp/blob/6972d4b9c2cbcb0551e203067f09ec84ca8f9df3/editors/vscode/typst.tmLanguage.json) | [MIT](https://raw.githubusercontent.com/nvarner/typst-lsp/master/LICENSE-MIT.txt) | | 7.95 kB | @@ -221,7 +221,7 @@ import { grammars } from 'tm-grammars' | `viml` | `vim` `vimscript` | [dunstontc/viml](https://github.com/dunstontc/viml/blob/8762570fc7d6f1009a3c93efd2a337330d88b88e/syntaxes/viml.tmLanguage.json) | [MIT](https://raw.githubusercontent.com/dunstontc/viml/master/LICENSE) | | 20.19 kB | | `vue` | | [vuejs/language-tools](https://github.com/vuejs/language-tools/blob/07f1f1d5a64e780b6dd768012102225e1b35f68c/extensions/vscode/syntaxes/vue.tmLanguage.json) | [MIT](https://raw.githubusercontent.com/vuejs/language-tools/master/LICENSE) | `html` `markdown` `pug` `stylus` `sass` `css` `scss` `less` `javascript` `typescript` `jsx` `tsx` `coffee` `json` `jsonc` `json5` `yaml` `toml` `graphql` `html-derivative` `markdown-vue` `vue-directives` `vue-interpolations` `vue-sfc-style-variable-injection` | 16.96 kB | | `vue-html` | | [vuejs/vetur](https://github.com/vuejs/vetur/blob/53ee52746b1f26f44391c3764bc7bd06d4ddaa46/syntaxes/vue-html.tmLanguage.json) | [MIT](https://raw.githubusercontent.com/vuejs/vetur/master/LICENSE) | `vue` `javascript` | 8.06 kB | -| `vyper` | `vy` | [tintinweb/vscode-vyper](https://github.com/tintinweb/vscode-vyper/blob/3df08ea46fc7df1a5e7f35365e615624849d1c1b/syntaxes/vyper.tmLanguage.json) | [MIT](https://raw.githubusercontent.com/tintinweb/vscode-vyper/master/LICENSE) | | 75.59 kB | +| `vyper` | `vy` | [tintinweb/vscode-vyper](https://github.com/tintinweb/vscode-vyper/blob/3df08ea46fc7df1a5e7f35365e615624849d1c1b/syntaxes/vyper.tmLanguage.json) | [MIT](https://raw.githubusercontent.com/tintinweb/vscode-vyper/master/LICENSE) | | 74.08 kB | | `wasm` | | [wasmerio/vscode-wasm](https://github.com/wasmerio/vscode-wasm/blob/9d0ace1ff113f4a3e95797675039cd94ec257078/syntaxes/wat.json) | [MIT](https://raw.githubusercontent.com/wasmerio/vscode-wasm/master/LICENSE) | | 15.03 kB | | `wenyan` | `文言` | [wenyan-lang/highlight](https://github.com/wenyan-lang/highlight/blob/5100e8a803978b4f5b009adac035d1f27f591760/wenyan.tmLanguage.json) | [MIT](https://raw.githubusercontent.com/wenyan-lang/highlight/master/LICENSE) | | 2.07 kB | | `wgsl` | | [PolyMeilex/vscode-wgsl](https://github.com/PolyMeilex/vscode-wgsl/blob/04222c48533ca541d6dc97043ea096471517e079/syntaxes/wgsl.tmLanguage.json) | [MIT](https://raw.githubusercontent.com/PolyMeilex/vscode-wgsl/master/LICENSE) | | 6.12 kB | @@ -229,7 +229,7 @@ import { grammars } from 'tm-grammars' | `wolfram` | `wl` | [WolframResearch/vscode-wolfram](https://github.com/WolframResearch/vscode-wolfram/blob/8b55fb1724d971a303120b3f5b981d654c308c59/syntaxes/wolfram.tmLanguage.json) | [MIT](https://raw.githubusercontent.com/WolframResearch/vscode-wolfram/master/LICENSE) | | 260.32 kB | | `xml` | | [microsoft/vscode](https://github.com/microsoft/vscode/blob/10a1d2a50a2882f5ae85bdb51eb04d3064fb9de9/extensions/xml/syntaxes/xml.tmLanguage.json) | [MIT](https://raw.githubusercontent.com/microsoft/vscode/main/LICENSE.txt) | `java` | 5.11 kB | | `xsl` | | [microsoft/vscode](https://github.com/microsoft/vscode/blob/8fdf170a0850c1cc027382f31650aaf300d3ae2a/extensions/xml/syntaxes/xsl.tmLanguage.json) | [MIT](https://raw.githubusercontent.com/microsoft/vscode/main/LICENSE.txt) | `xml` | 1.20 kB | -| `yaml` | `yml` | [textmate/yaml.tmbundle](https://github.com/textmate/yaml.tmbundle/blob/e54ceae3b719506dba7e481a77cea4a8b576ae46/Syntaxes/YAML.tmLanguage) | | | 9.99 kB | +| `yaml` | `yml` | [textmate/yaml.tmbundle](https://github.com/textmate/yaml.tmbundle/blob/e54ceae3b719506dba7e481a77cea4a8b576ae46/Syntaxes/YAML.tmLanguage) | | | 9.97 kB | | `zenscript` | | [CraftTweaker/ZenScript-tmLanguage](https://github.com/CraftTweaker/ZenScript-tmLanguage/blob/5a7bcb775a6fb37470e56f904e70d8b8b9e6b047/zenscript.tmLanguage.json) | [MIT](https://raw.githubusercontent.com/CraftTweaker/ZenScript-tmLanguage/master/LICENSE) | | 4.08 kB | | `zig` | | [ziglang/vscode-zig](https://github.com/ziglang/vscode-zig/blob/4874aafc7cc3e59ffc155d34eb98c81c0ca4ffcd/syntaxes/zig.tmLanguage.json) | [MIT](https://raw.githubusercontent.com/ziglang/vscode-zig/master/LICENSE) | | 5.06 kB | diff --git a/packages/tm-grammars/grammars/abap.json b/packages/tm-grammars/grammars/abap.json index 444d4c2..4f7726c 100644 --- a/packages/tm-grammars/grammars/abap.json +++ b/packages/tm-grammars/grammars/abap.json @@ -252,7 +252,7 @@ ], "repository": { "abap_constants": { - "match": "(?ix)(?<=\\s)(initial|null|space|abap_true|abap_false|abap_undefined|table_line|\n%_final|%_hints|%_predefined|col_background|col_group|col_heading|col_key|col_negative|col_normal|col_positive|col_total|\nadabas|as400|db2|db6|hdb|oracle|sybase|mssqlnt|pos_low|pos_high)(?=\\s|\\.|,)", + "match": "(?ix)(?<=\\s)(initial|null|space|abap_true|abap_false|abap_undefined|table_line|\n\t\t\t\t%_final|%_hints|%_predefined|col_background|col_group|col_heading|col_key|col_negative|col_normal|col_positive|col_total|\n\t\t\t\tadabas|as400|db2|db6|hdb|oracle|sybase|mssqlnt|pos_low|pos_high)(?=\\s|\\.|,)", "name": "constant.language.abap" }, "abaptypes": { @@ -280,7 +280,7 @@ "name": "keyword.control.simple.abap" }, "control_keywords": { - "match": "(?ix)(^|\\s)(\nat|case|catch|continue|do|elseif|else|endat|endcase|endcatch|enddo|endif|\nendloop|endon|endtry|endwhile|if|loop|on|raise|try|while)(?=\\s|\\.|:)", + "match": "(?ix)(^|\\s)(\n\t at|case|catch|continue|do|elseif|else|endat|endcase|endcatch|enddo|endif|\n\t endloop|endon|endtry|endwhile|if|loop|on|raise|try|while)(?=\\s|\\.|:)", "name": "keyword.control.flow.abap" }, "generic_names": { @@ -318,7 +318,7 @@ "name": "keyword.control.simple.abap" }, "main_keywords": { - "match": "(?ix)(?<=^|\\s)(\nabap-source|\nabstract|\naccept|\naccepting|\naccess|\naccording|\naction|\nactivation|\nactual|\nadd|\nadd-corresponding|\nadjacent|\nalias|\naliases|\nalign|\nall|\nallocate|\nalpha|\namdp|\nanalysis|\nanalyzer|\nappend|\nappending|\napplication|\narchive|\narea|\narithmetic|\nas|\nascending|\nassert|\nassign|\nassigned|\nassigning|\nassociation|\nasynchronous|\nat|\nattributes|\nauthority|\nauthority-check|\nauthorization|\nauto|\nback|\nbackground|\nbackward|\nbadi|\nbase|\nbefore|\nbegin|\nbehavior|\nbetween|\nbinary|\nbit|\nblank|\nblanks|\nblock|\nblocks|\nbound|\nboundaries|\nbounds|\nboxed|\nbreak|\nbreak-point|\nbuffer|\nby|\nbypassing|\nbyte|\nbyte-order|\ncall|\ncalling|\ncast|\ncasting|\ncds|\ncenter|\ncentered|\nchange|\nchanging|\nchannels|\nchar-to-hex|\ncharacter|\ncheck|\ncheckbox|\ncid|\ncircular|\nclass|\nclass-data|\nclass-events|\nclass-method|\nclass-methods|\nclass-pool|\ncleanup|\nclear|\nclient|\nclients|\nclock|\nclone|\nclose|\ncnt|\ncode|\ncollect|\ncolor|\ncolumn|\ncomment|\ncomments|\ncommit|\ncommon|\ncommunication|\ncomparing|\ncomponent|\ncomponents|\ncompression|\ncompute|\nconcatenate|\ncond|\ncondense|\ncondition|\nconnection|\nconstant|\nconstants|\ncontext|\ncontexts|\ncontrol|\ncontrols|\nconv|\nconversion|\nconvert|\ncopy|\ncorresponding|\ncount|\ncountry|\ncover|\ncreate|\ncurrency|\ncurrent|\ncursor|\ncustomer-function|\ndata|\ndatabase|\ndatainfo|\ndataset|\ndate|\ndaylight|\nddl|\ndeallocate|\ndecimals|\ndeclarations|\ndeep|\ndefault|\ndeferred|\ndefine|\ndelete|\ndeleting|\ndemand|\ndescending|\ndescribe|\ndestination|\ndetail|\ndetermine|\ndialog|\ndid|\ndirectory|\ndiscarding|\ndisplay|\ndisplay-mode|\ndistance|\ndistinct|\ndivide|\ndivide-corresponding|\ndummy|\nduplicate|\nduplicates|\nduration|\nduring|\ndynpro|\nedit|\neditor-call|\nempty|\nenabled|\nenabling|\nencoding|\nend|\nend-enhancement-section|\nend-of-definition|\nend-of-page|\nend-of-selection|\nend-test-injection|\nend-test-seam|\nendenhancement|\nendexec|\nendfunction|\nendian|\nending|\nendmodule|\nendprovide|\nendselect|\nendwith|\nengineering|\nenhancement|\nenhancement-point|\nenhancement-section|\nenhancements|\nentities|\nentity|\nentries|\nentry|\nenum|\nenvironment|\nequiv|\nerrors|\nescape|\nescaping|\nevent|\nevents|\nexact|\nexcept|\nexception|\nexception-table|\nexceptions|\nexcluding|\nexec|\nexecute|\nexists|\nexit|\nexit-command|\nexpanding|\nexplicit|\nexponent|\nexport|\nexporting|\nextended|\nextension|\nextract|\nfail|\nfailed|\nfeatures|\nfetch|\nfield|\nfield-groups|\nfield-symbols|\nfields|\nfile|\nfill|\nfilter|\nfilters|\nfinal|\nfind|\nfirst|\nfirst-line|\nfixed-point|\nflush|\nfollowing|\nfor|\nformat|\nforward|\nfound|\nframe|\nframes|\nfree|\nfrom|\nfull|\nfunction|\nfunction-pool|\ngenerate|\nget|\ngiving|\ngraph|\ngroup|\ngroups|\nhandle|\nhandler|\nhashed|\nhaving|\nheader|\nheaders|\nheading|\nhelp-id|\nhelp-request|\nhide|\nhint|\nhold|\nhotspot|\nicon|\nid|\nidentification|\nidentifier|\nignore|\nignoring|\nimmediately|\nimplemented|\nimplicit|\nimport|\nimporting|\nin|\ninactive|\nincl|\ninclude|\nincludes|\nincrement|\nindex|\nindex-line|\nindicators|\ninfotypes|\ninheriting|\ninit|\ninitial|\ninitialization|\ninner|\ninput|\ninsert|\ninstance|\ninstances|\nintensified|\ninterface|\ninterface-pool|\ninterfaces|\ninternal|\nintervals|\ninto|\ninverse|\ninverted-date|\nis|\niso|\njob|\njoin|\nkeep|\nkeeping|\nkernel|\nkey|\nkeys|\nkeywords|\nkind|\nlanguage|\nlast|\nlate|\nlayout|\nleading|\nleave|\nleft|\nleft-justified|\nleftplus|\nleftspace|\nlegacy|\nlength|\nlet|\nlevel|\nlevels|\nlike|\nline|\nline-count|\nline-selection|\nline-size|\nlinefeed|\nlines|\nlink|\nlist|\nlist-processing|\nlistbox|\nload|\nload-of-program|\nlocal|\nlocale|\nlock|\nlocks|\nlog-point|\nlogical|\nlower|\nmapped|\nmapping|\nmargin|\nmark|\nmask|\nmatch|\nmatchcode|\nmaximum|\nmembers|\nmemory|\nmesh|\nmessage|\nmessage-id|\nmessages|\nmessaging|\nmethod|\nmethods|\nmode|\nmodif|\nmodifier|\nmodify|\nmodule|\nmove|\nmove-corresponding|\nmultiply|\nmultiply-corresponding|\nname|\nnametab|\nnative|\nnested|\nnesting|\nnew|\nnew-line|\nnew-page|\nnew-section|\nnext|\nno|\nno-display|\nno-extension|\nno-gap|\nno-gaps|\nno-grouping|\nno-heading|\nno-scrolling|\nno-sign|\nno-title|\nno-zero|\nnodes|\nnon-unicode|\nnon-unique|\nnumber|\nobject|\nobjects|\nobjmgr|\nobligatory|\noccurence|\noccurences|\noccurrence|\noccurrences|\noccurs|\nof|\noffset|\non|\nonly|\nopen|\noptional|\noption|\noptions|\norder|\nothers|\nout|\nouter|\noutput|\noutput-length|\noverflow|\noverlay|\npack|\npackage|\npad|\npadding|\npage|\nparameter|\nparameter-table|\nparameters|\npart|\npartially|\npcre|\nperform|\nperforming|\npermissions|\npf-status|\nplaces|\npool|\nposition|\npragmas|\npreceeding|\nprecompiled|\npreferred|\npreserving|\nprimary|\nprint|\nprint-control|\nprivate|\nprivileged|\nprocedure|\nprogram|\nproperty|\nprotected|\nprovide|\npush|\npushbutton|\nput|\nquery|\nqueue-only|\nqueueonly|\nquickinfo|\nradiobutton|\nraising|\nrange|\nranges|\nread|\nread-only|\nreceive|\nreceived|\nreceiving|\nredefinition|\nreduce|\nref|\nreference|\nrefresh|\nregex|\nreject|\nrenaming|\nreplace|\nreplacement|\nreplacing|\nreport|\nreported|\nrequest|\nrequested|\nrequired|\nreserve|\nreset|\nresolution|\nrespecting|\nresponse|\nrestore|\nresult|\nresults|\nresumable|\nresume|\nretry|\nreturn|\nreturning|\nright|\nright-justified|\nrightplus|\nrightspace|\nrollback|\nrows|\nrp-provide-from-last|\nrun|\nsap|\nsap-spool|\nsave|\nsaving|\nscale_preserving|\nscale_preserving_scientific|\nscan|\nscientific|\nscientific_with_leading_zero|\nscreen|\nscroll|\nscroll-boundary|\nscrolling|\nsearch|\nseconds|\nsection|\nselect|\nselect-options|\nselection|\nselection-screen|\nselection-set|\nselection-sets|\nselection-table|\nselections|\nsend|\nseparate|\nseparated|\nsession|\nset|\nshared|\nshift|\nshortdump|\nshortdump-id|\nsign|\nsign_as_postfix|\nsimple|\nsimulation|\nsingle|\nsize|\nskip|\nskipping|\nsmart|\nsome|\nsort|\nsortable|\nsorted|\nsource|\nspecified|\nsplit|\nspool|\nspots|\nsql|\nstable|\nstamp|\nstandard|\nstart-of-selection|\nstarting|\nstate|\nstatement|\nstatements|\nstatic|\nstatics|\nstatusinfo|\nstep|\nstep-loop|\nstop|\nstructure|\nstructures|\nstyle|\nsubkey|\nsubmatches|\nsubmit|\nsubroutine|\nsubscreen|\nsubstring|\nsubtract|\nsubtract-corresponding|\nsuffix|\nsum|\nsummary|\nsupplied|\nsupply|\nsuppress|\nswitch|\nsymbol|\nsyntax-check|\nsyntax-trace|\nsystem-call|\nsystem-exceptions|\ntab|\ntabbed|\ntable|\ntables|\ntableview|\ntabstrip|\ntarget|\ntask|\ntasks|\ntest|\ntest-injection|\ntest-seam|\ntesting|\ntext|\ntextpool|\nthen|\nthrow|\ntime|\ntimes|\ntimestamp|\ntimezone|\ntitle|\ntitlebar|\nto|\ntokens|\ntop-lines|\ntop-of-page|\ntrace-file|\ntrace-table|\ntrailing|\ntransaction|\ntransfer|\ntransformation|\ntranslate|\ntransporting|\ntrmac|\ntruncate|\ntruncation|\ntype|\ntype-pool|\ntype-pools|\ntypes|\nuline|\nunassign|\nunbounded|\nunder|\nunicode|\nunion|\nunique|\nunit|\nunix|\nunpack|\nuntil|\nunwind|\nup|\nupdate|\nupper|\nuser|\nuser-command|\nusing|\nutf-8|\nuuid|\nvalid|\nvalidate|\nvalue|\nvalue-request|\nvalues|\nvary|\nvarying|\nversion|\nvia|\nvisible|\nwait|\nwhen|\nwhere|\nwidth|\nwindow|\nwindows|\nwith|\nwith-heading|\nwith-title|\nwithout|\nword|\nwork|\nworkspace|\nwrite|\nxml|\nxsd|\nyes|\nzero|\nzone\n)(?=\\s|\\.|:|,)", + "match": "(?ix)(?<=^|\\s)(\nabap-source|\nabstract|\naccept|\naccepting|\naccess|\naccording|\naction|\nactivation|\nactual|\nadd|\nadd-corresponding|\nadjacent|\nalias|\naliases|\nalign|\nall|\nallocate|\nalpha|\namdp|\nanalysis|\nanalyzer|\nappend|\nappending|\napplication|\narchive|\narea|\narithmetic|\nas|\nascending|\nassert|\nassign|\nassigned|\nassigning|\nassociation|\nasynchronous|\nat|\nattributes|\nauthority|\nauthority-check|\nauthorization|\nauto|\nback|\nbackground|\nbackward|\nbadi|\nbase|\nbefore|\nbegin|\nbehavior|\nbetween|\nbinary|\nbit|\nblank|\nblanks|\nblock|\nblocks|\nbound|\nboundaries|\nbounds|\nboxed|\nbreak|\nbreak-point|\nbuffer|\nby|\nbypassing|\nbyte|\nbyte-order|\ncall|\ncalling|\ncast|\ncasting|\ncds|\ncenter|\ncentered|\nchange|\nchanging|\nchannels|\nchar-to-hex|\ncharacter|\ncheck|\ncheckbox|\ncid|\ncircular|\nclass|\nclass-data|\nclass-events|\nclass-method|\nclass-methods|\nclass-pool|\ncleanup|\nclear|\nclient|\nclients|\nclock|\nclone|\nclose|\ncnt|\ncode|\ncollect|\ncolor|\ncolumn|\ncomment|\ncomments|\ncommit|\ncommon|\ncommunication|\ncomparing|\ncomponent|\ncomponents|\ncompression|\ncompute|\nconcatenate|\ncond|\ncondense|\ncondition|\nconnection|\nconstant|\nconstants|\ncontext|\ncontexts|\ncontrol|\ncontrols|\nconv|\nconversion|\nconvert|\ncopy|\ncorresponding|\ncount|\ncountry|\ncover|\ncreate|\ncurrency|\ncurrent|\ncursor|\ncustomer-function|\ndata|\ndatabase|\ndatainfo|\ndataset|\ndate|\ndaylight|\nddl|\ndeallocate|\ndecimals|\ndeclarations|\ndeep|\ndefault|\ndeferred|\ndefine|\ndelete|\ndeleting|\ndemand|\ndescending|\ndescribe|\ndestination|\ndetail|\ndetermine|\ndialog|\ndid|\ndirectory|\ndiscarding|\ndisplay|\ndisplay-mode|\ndistance|\ndistinct|\ndivide|\ndivide-corresponding|\ndummy|\nduplicate|\nduplicates|\nduration|\nduring|\ndynpro|\nedit|\neditor-call|\nempty|\nenabled|\nenabling|\nencoding|\nend|\nend-enhancement-section|\nend-of-definition|\nend-of-page|\nend-of-selection|\nend-test-injection|\nend-test-seam|\nendenhancement|\nendexec|\nendfunction|\nendian|\nending|\nendmodule|\nendprovide|\nendselect|\nendwith|\nengineering|\nenhancement|\nenhancement-point|\nenhancement-section|\nenhancements|\nentities|\nentity|\nentries|\nentry|\nenum|\nenvironment|\nequiv|\nerrors|\nescape|\nescaping|\nevent|\nevents|\nexact|\nexcept|\nexception|\nexception-table|\nexceptions|\nexcluding|\nexec|\nexecute|\nexists|\nexit|\nexit-command|\nexpanding|\nexplicit|\nexponent|\nexport|\nexporting|\nextended|\nextension|\nextract|\nfail|\nfailed|\nfeatures|\nfetch|\nfield|\nfield-groups|\nfield-symbols|\nfields|\nfile|\nfill|\nfilter|\nfilters|\nfinal|\nfind|\nfirst|\nfirst-line|\nfixed-point|\nflush|\nfollowing|\nfor|\nformat|\nforward|\nfound|\nframe|\nframes|\nfree|\nfrom|\nfull|\nfunction|\nfunction-pool|\ngenerate|\nget|\ngiving|\ngraph|\ngroup|\ngroups|\nhandle|\nhandler|\nhashed|\nhaving|\nheader|\nheaders|\nheading|\nhelp-id|\nhelp-request|\nhide|\nhint|\nhold|\nhotspot|\nicon|\nid|\nidentification|\nidentifier|\nignore|\nignoring|\nimmediately|\nimplemented|\nimplicit|\nimport|\nimporting|\nin|\ninactive|\nincl|\ninclude|\nincludes|\nincrement|\nindex|\nindex-line|\nindicators|\ninfotypes|\ninheriting|\ninit|\ninitial|\ninitialization|\ninner|\ninput|\ninsert|\ninstance|\ninstances|\nintensified|\ninterface|\ninterface-pool|\ninterfaces|\ninternal|\nintervals|\ninto|\ninverse|\ninverted-date|\nis|\niso|\njob|\njoin|\nkeep|\nkeeping|\nkernel|\nkey|\nkeys|\nkeywords|\nkind|\nlanguage|\nlast|\nlate|\nlayout|\nleading|\nleave|\nleft|\nleft-justified|\nleftplus|\nleftspace|\nlegacy|\nlength|\nlet|\nlevel|\nlevels|\nlike|\nline|\nline-count|\nline-selection|\nline-size|\nlinefeed|\nlines|\nlink|\nlist|\nlist-processing|\nlistbox|\nload|\nload-of-program|\nlocal|\nlocale|\nlock|\nlocks|\nlog-point|\nlogical|\nlower|\nmapped|\nmapping|\nmargin|\nmark|\nmask|\nmatch|\nmatchcode|\nmaximum|\nmembers|\nmemory|\nmesh|\nmessage|\nmessage-id|\nmessages|\nmessaging|\nmethod|\nmethods|\nmode|\nmodif|\nmodifier|\nmodify|\nmodule|\nmove|\nmove-corresponding|\nmultiply|\nmultiply-corresponding|\nname|\nnametab|\nnative|\nnested|\nnesting|\nnew|\nnew-line|\nnew-page|\nnew-section|\nnext|\nno|\nno-display|\nno-extension|\nno-gap|\nno-gaps|\nno-grouping|\nno-heading|\nno-scrolling|\nno-sign|\nno-title|\nno-zero|\nnodes|\nnon-unicode|\nnon-unique|\nnumber|\nobject|\nobjects|\nobjmgr|\nobligatory|\noccurence|\noccurences|\noccurrence|\noccurrences|\noccurs|\nof|\noffset|\non|\nonly|\nopen|\noptional|\noption|\noptions|\norder|\nothers|\nout|\nouter|\noutput|\noutput-length|\noverflow|\noverlay|\npack|\npackage|\npad|\npadding|\npage|\nparameter|\nparameter-table|\nparameters|\npart|\npartially|\npcre|\nperform|\nperforming|\npermissions|\npf-status|\nplaces|\npool|\nposition|\npragmas|\npreceeding|\nprecompiled|\npreferred|\npreserving|\nprimary|\nprint|\nprint-control|\nprivate|\nprivileged|\nprocedure|\nprogram|\nproperty|\nprotected|\nprovide|\npush|\npushbutton|\nput|\nquery|\nqueue-only|\nqueueonly|\nquickinfo|\nradiobutton|\nraising|\nrange|\nranges|\nread|\nread-only|\nreceive|\nreceived|\nreceiving|\nredefinition|\nreduce|\nref|\nreference|\nrefresh|\nregex|\nreject|\nrenaming|\nreplace|\nreplacement|\nreplacing|\nreport|\nreported|\nrequest|\nrequested|\nrequired|\nreserve|\nreset|\nresolution|\nrespecting|\nresponse|\nrestore|\nresult|\nresults|\nresumable|\nresume|\nretry|\nreturn|\nreturning|\nright|\nright-justified|\nrightplus|\nrightspace|\nrollback|\nrows|\nrp-provide-from-last|\nrun|\nsap|\nsap-spool|\nsave|\nsaving|\nscale_preserving|\nscale_preserving_scientific|\nscan|\nscientific|\nscientific_with_leading_zero|\nscreen|\nscroll|\nscroll-boundary|\nscrolling|\nsearch|\nseconds|\nsection|\nselect|\nselect-options|\nselection|\nselection-screen|\nselection-set|\nselection-sets|\nselection-table|\nselections|\nsend|\nseparate|\nseparated|\nsession|\nset|\nshared|\nshift|\nshortdump|\nshortdump-id|\nsign|\nsign_as_postfix|\nsimple|\nsimulation|\nsingle|\nsize|\nskip|\nskipping|\nsmart|\nsome|\nsort|\nsortable|\nsorted|\nsource|\nspecified|\nsplit|\nspool|\nspots|\nsql|\nstable|\nstamp|\nstandard|\nstart-of-selection|\nstarting|\nstate|\nstatement|\nstatements|\nstatic|\nstatics|\nstatusinfo|\nstep|\nstep-loop|\nstop|\nstructure|\nstructures|\nstyle|\nsubkey|\nsubmatches|\nsubmit|\nsubroutine|\nsubscreen|\nsubstring|\nsubtract|\nsubtract-corresponding|\nsuffix|\nsum|\nsummary|\nsupplied|\nsupply|\nsuppress|\nswitch|\nsymbol|\nsyntax-check|\nsyntax-trace|\nsystem-call|\nsystem-exceptions|\ntab|\ntabbed|\ntable|\ntables|\ntableview|\ntabstrip|\ntarget|\ntask|\ntasks|\ntest|\ntest-injection|\ntest-seam|\ntesting|\ntext|\ntextpool|\nthen|\nthrow|\ntime|\ntimes|\ntimestamp|\ntimezone|\ntitle|\ntitlebar|\nto|\ntokens|\ntop-lines|\ntop-of-page|\ntrace-file|\ntrace-table|\ntrailing|\ntransaction|\ntransfer|\ntransformation|\ntranslate|\ntransporting|\ntrmac|\ntruncate|\ntruncation|\ntype|\ntype-pool|\ntype-pools|\ntypes|\nuline|\nunassign|\nunbounded|\nunder|\nunicode|\nunion|\nunique|\nunit|\nunix|\nunpack|\nuntil|\nunwind|\nup|\nupdate|\nupper|\nuser|\nuser-command|\nusing|\nutf-8|\nuuid|\nvalid|\nvalidate|\nvalue|\nvalue-request|\nvalues|\nvary|\nvarying|\nversion|\nvia|\nvisible|\nwait|\nwhen|\nwhere|\nwidth|\nwindow|\nwindows|\nwith|\nwith-heading|\nwith-title|\nwithout|\nword|\nwork|\nworkspace|\nwrite|\nxml|\nxsd|\nyes|\nzero|\nzone\n\t\t \t)(?=\\s|\\.|:|,)", "name": "keyword.control.simple.abap" }, "operators": { @@ -346,7 +346,7 @@ "name": "constant.language.abap" }, "sql_functions": { - "match": "(?ix)(?<=\\s)(\nabap_system_timezone|\nabap_user_timezone|\nabs|\nadd_days|\nadd_months|\nallow_precision_loss|\nas_geo_json|\navg|\nbintohex|\ncast|\nceil|\ncoalesce|\nconcat_with_space|\nconcat|\ncorr_spearman|\ncorr|\ncount|\ncurrency_conversion|\ndatn_add_days|\ndatn_add_months|\ndatn_days_between|\ndats_add_days|\ndats_add_months|\ndats_days_between|\ndats_from_datn|\ndats_is_valid|\ndats_tims_to_tstmp|\ndats_to_datn|\ndayname|\ndays_between|\ndense_rank|\ndivision|\ndiv|\nextract_day|\nextract_hour|\nextract_minute|\nextract_month|\nextract_second|\nextract_year|\nfirst_value|\nfloor|\ngrouping|\nhextobin|\ninitcap|\ninstr|\nis_valid|\nlag|\nlast_value|\nlead|\nleft|\nlength|\nlike_regexpr|\nlocate_regexpr_after|\nlocate_regexpr|\nlocate|\nlower|\nlpad|\nltrim|\nmax|\nmedian|\nmin|\nmod|\nmonthname|\nntile|\noccurrences_regexpr|\nover|\nproduct|\nrank|\nreplace_regexpr|\nreplace|\nrigth|\nround|\nrow_number|\nrpad|\nrtrim|\nstddev|\nstring_agg|\nsubstring_regexpr|\nsubstring|\nsum|\ntims_from_timn|\ntims_is_valid|\ntims_to_timn|\nto_blob|\nto_clob|\ntstmp_add_seconds|\ntstmp_current_utctimestamp|\ntstmp_is_valid|\ntstmp_seconds_between|\ntstmp_to_dats|\ntstmp_to_dst|\ntstmp_to_tims|\ntstmpl_from_utcl|\ntstmpl_to_utcl|\nunit_conversion|\nupper|\nutcl_add_seconds|\nutcl_current|\nutcl_seconds_between|\nuuid|\nvar|\nweekday\n)(?=\\()", + "match": "(?ix)(?<=\\s)(\nabap_system_timezone|\nabap_user_timezone|\nabs|\nadd_days|\nadd_months|\nallow_precision_loss|\nas_geo_json|\navg|\nbintohex|\ncast|\nceil|\ncoalesce|\nconcat_with_space|\nconcat|\ncorr_spearman|\ncorr|\ncount|\ncurrency_conversion|\ndatn_add_days|\ndatn_add_months|\ndatn_days_between|\ndats_add_days|\ndats_add_months|\ndats_days_between|\ndats_from_datn|\ndats_is_valid|\ndats_tims_to_tstmp|\ndats_to_datn|\ndayname|\ndays_between|\ndense_rank|\ndivision|\ndiv|\nextract_day|\nextract_hour|\nextract_minute|\nextract_month|\nextract_second|\nextract_year|\nfirst_value|\nfloor|\ngrouping|\nhextobin|\ninitcap|\ninstr|\nis_valid|\nlag|\nlast_value|\nlead|\nleft|\nlength|\nlike_regexpr|\nlocate_regexpr_after|\nlocate_regexpr|\nlocate|\nlower|\nlpad|\nltrim|\nmax|\nmedian|\nmin|\nmod|\nmonthname|\nntile|\noccurrences_regexpr|\nover|\nproduct|\nrank|\nreplace_regexpr|\nreplace|\nrigth|\nround|\nrow_number|\nrpad|\nrtrim|\nstddev|\nstring_agg|\nsubstring_regexpr|\nsubstring|\nsum|\ntims_from_timn|\ntims_is_valid|\ntims_to_timn|\nto_blob|\nto_clob|\ntstmp_add_seconds|\ntstmp_current_utctimestamp|\ntstmp_is_valid|\ntstmp_seconds_between|\ntstmp_to_dats|\ntstmp_to_dst|\ntstmp_to_tims|\ntstmpl_from_utcl|\ntstmpl_to_utcl|\nunit_conversion|\nupper|\nutcl_add_seconds|\nutcl_current|\nutcl_seconds_between|\nuuid|\nvar|\nweekday\n )(?=\\()", "name": "entity.name.function.sql.abap" }, "sql_types": { diff --git a/packages/tm-grammars/grammars/angular-ts.json b/packages/tm-grammars/grammars/angular-ts.json index 3f5051a..1784ea6 100644 --- a/packages/tm-grammars/grammars/angular-ts.json +++ b/packages/tm-grammars/grammars/angular-ts.json @@ -1208,7 +1208,7 @@ "name": "invalid.illegal.syntax.jsdoc" } }, - "match": "(\\[)\\s*[\\w$]+(?:(?:\\[\\])?\\.[\\w$]+)*(?:\\s*(=)\\s*((?>\"(?:(?:\\*(?!/))|(?:\\\\(?!\"))|[^*\\\\])*?\"|'(?:(?:\\*(?!/))|(?:\\\\(?!'))|[^*\\\\])*?'|\\[\\s(?:(?:\\*(?!/))|[^*])*?\\]|(?:(?:\\*(?!/))|\\s(?!\\s*\\])|\\[.*?(?:\\]|(?=\\*/))|[^*\\s\\[\\]])*)*))?\\s*(?:(\\])((?:[^*\\s]|\\*[^\\s/])+)?|(?=\\*/))", + "match": "(\\[)\\s*[\\w$]+(?:(?:\\[\\])?\\.[\\w$]+)*(?:\\s*(=)\\s*((?>\"(?:(?:\\*(?!/))|(?:\\\\(?!\"))|[^*\\\\])*?\"|'(?:(?:\\*(?!/))|(?:\\\\(?!'))|[^*\\\\])*?'|\\[(?:(?:\\*(?!/))|[^*])*?\\]|(?:(?:\\*(?!/))|\\s(?!\\s*\\])|\\[.*?(?:\\]|(?=\\*/))|[^*\\s\\[\\]])*)*))?\\s*(?:(\\])((?:[^*\\s]|\\*[^\\s/])+)?|(?=\\*/))", "name": "variable.other.jsdoc" } ] diff --git a/packages/tm-grammars/grammars/apl.json b/packages/tm-grammars/grammars/apl.json index 2dd2cdc..f1435a7 100644 --- a/packages/tm-grammars/grammars/apl.json +++ b/packages/tm-grammars/grammars/apl.json @@ -340,7 +340,7 @@ "definition": { "patterns": [ { - "begin": "^\\s*?(?#1:keyword.operator.nabla.apl)(∇)(?:\\s*(?:(?#2:entity.function.return-value.apl)([A-Z_a-zÀ-ÖØ-Ýßà-öø-üþ∆⍙Ⓐ-Ⓩ][A-Z_a-zÀ-ÖØ-Ýßà-öø-üþ∆⍙Ⓐ-Ⓩ¯0-9]*)|\\s*(?#3:entity.function.return-value.shy.apl)((\\{)(?#4:punctuation.definition.return-value.begin.apl)(?:\\s*[A-Z_a-zÀ-ÖØ-Ýßà-öø-üþ∆⍙Ⓐ-Ⓩ][A-Z_a-zÀ-ÖØ-Ýßà-öø-üþ∆⍙Ⓐ-Ⓩ¯0-9]*\\s*)*(\\})(?#5:punctuation.definition.return-value.end.apl)|(\\()(?#6:punctuation.definition.return-value.begin.apl)(?:\\s*[A-Z_a-zÀ-ÖØ-Ýßà-öø-üþ∆⍙Ⓐ-Ⓩ][A-Z_a-zÀ-ÖØ-Ýßà-öø-üþ∆⍙Ⓐ-Ⓩ¯0-9]*\\s*)*(\\))(?#7:punctuation.definition.return-value.end.apl)|(\\(\\s*\\{)(?#8:punctuation.definition.return-value.begin.apl)(?:\\s*[A-Z_a-zÀ-ÖØ-Ýßà-öø-üþ∆⍙Ⓐ-Ⓩ][A-Z_a-zÀ-ÖØ-Ýßà-öø-üþ∆⍙Ⓐ-Ⓩ¯0-9]*\\s*)*(\\}\\s*\\))(?#9:punctuation.definition.return-value.end.apl)|(\\{\\s*\\()(?#10:punctuation.definition.return-value.begin.apl)(?:\\s*[A-Z_a-zÀ-ÖØ-Ýßà-öø-üþ∆⍙Ⓐ-Ⓩ][A-Z_a-zÀ-ÖØ-Ýßà-öø-üþ∆⍙Ⓐ-Ⓩ¯0-9]*\\s*)*(\\)\\s*\\})(?#11:punctuation.definition.return-value.end.apl))\\s*)\\s*(?#12:keyword.operator.assignment.apl)(←))?\\s*(?:(?#MONADIC)(?:(?#13:entity.function.name.apl)([A-Z_a-zÀ-ÖØ-Ýßà-öø-üþ∆⍙Ⓐ-Ⓩ][A-Z_a-zÀ-ÖØ-Ýßà-öø-üþ∆⍙Ⓐ-Ⓩ¯0-9]*)\\s*(?#14:entity.function.axis.apl)((?#15:punctuation.definition.axis.begin.apl)(\\[)\\s\\s*\\s(?:\\s\\s*\\s[A-Z_a-zÀ-ÖØ-Ýßà-öø-üþ∆⍙Ⓐ-Ⓩ][A-Z_a-zÀ-ÖØ-Ýßà-öø-üþ∆⍙Ⓐ-Ⓩ¯0-9]*\\s*(?#16:invalid.illegal.extra-characters.apl)(.*?)|(?#17:invalid.illegal.apl)([^\\]]*))\\s*(?#18:punctuation.definition.axis.end.apl)(\\]))?\\s*?(?#19:entity.function.arguments.right.apl)((?<=\\s|\\])[A-Z_a-zÀ-ÖØ-Ýßà-öø-üþ∆⍙Ⓐ-Ⓩ][A-Z_a-zÀ-ÖØ-Ýßà-öø-üþ∆⍙Ⓐ-Ⓩ¯0-9]*|(\\()(?#20:punctuation.definition.arguments.begin.apl)(?:\\s*[A-Z_a-zÀ-ÖØ-Ýßà-öø-üþ∆⍙Ⓐ-Ⓩ][A-Z_a-zÀ-ÖØ-Ýßà-öø-üþ∆⍙Ⓐ-Ⓩ¯0-9]*\\s*)*(\\))(?#21:punctuation.definition.arguments.end.apl))\\s*(?=;|$))|(?#DYADIC/AMBIVALENT)(?#==================)(?:(?#22:entity.function.arguments.left.apl)([A-Z_a-zÀ-ÖØ-Ýßà-öø-üþ∆⍙Ⓐ-Ⓩ][A-Z_a-zÀ-ÖØ-Ýßà-öø-üþ∆⍙Ⓐ-Ⓩ¯0-9]*\\s+)|(?#23:entity.function.arguments.left.optional.apl)((\\{)(?#24:punctuation.definition.arguments.begin.apl)(?:\\s*[A-Z_a-zÀ-ÖØ-Ýßà-öø-üþ∆⍙Ⓐ-Ⓩ][A-Z_a-zÀ-ÖØ-Ýßà-öø-üþ∆⍙Ⓐ-Ⓩ¯0-9]*\\s*)*(\\})(?#25:punctuation.definition.arguments.end.apl)|(\\(\\s*\\{)(?#26:punctuation.definition.arguments.begin.apl)(?:\\s*[A-Z_a-zÀ-ÖØ-Ýßà-öø-üþ∆⍙Ⓐ-Ⓩ][A-Z_a-zÀ-ÖØ-Ýßà-öø-üþ∆⍙Ⓐ-Ⓩ¯0-9]*\\s*)*(\\}\\s*\\))(?#27:punctuation.definition.arguments.end.apl)|(\\{\\s*\\()(?#28:punctuation.definition.arguments.begin.apl)(?:\\s*[A-Z_a-zÀ-ÖØ-Ýßà-öø-üþ∆⍙Ⓐ-Ⓩ][A-Z_a-zÀ-ÖØ-Ýßà-öø-üþ∆⍙Ⓐ-Ⓩ¯0-9]*\\s*)*(\\)\\s*\\})(?#29:punctuation.definition.arguments.end.apl)))?\\s*(?:(?#30:entity.function.name.apl)([A-Z_a-zÀ-ÖØ-Ýßà-öø-üþ∆⍙Ⓐ-Ⓩ][A-Z_a-zÀ-ÖØ-Ýßà-öø-üþ∆⍙Ⓐ-Ⓩ¯0-9]*)\\s*(?#31:entity.function.axis.apl)((?#32:punctuation.definition.axis.begin.apl)(\\[)\\s\\s*\\s(?:\\s\\s*\\s[A-Z_a-zÀ-ÖØ-Ýßà-öø-üþ∆⍙Ⓐ-Ⓩ][A-Z_a-zÀ-ÖØ-Ýßà-öø-üþ∆⍙Ⓐ-Ⓩ¯0-9]*\\s*(?#33:invalid.illegal.extra-characters.apl)(.*?)|(?#34:invalid.illegal.apl)([^\\]]*))\\s*(?#35:punctuation.definition.axis.end.apl)(\\]))?|(?#36:entity.function.operands.apl)((?#37:punctuation.definition.operands.begin.apl)(\\()(?#38:entity.function.operands.left.apl)(\\s*[A-Z_a-zÀ-ÖØ-Ýßà-öø-üþ∆⍙Ⓐ-Ⓩ][A-Z_a-zÀ-ÖØ-Ýßà-öø-üþ∆⍙Ⓐ-Ⓩ¯0-9]*)?\\s*(?#39:entity.function.name.apl)([A-Z_a-zÀ-ÖØ-Ýßà-öø-üþ∆⍙Ⓐ-Ⓩ][A-Z_a-zÀ-ÖØ-Ýßà-öø-üþ∆⍙Ⓐ-Ⓩ¯0-9]*)\\s*?(?#40:entity.function.axis.apl)((?#41:punctuation.definition.axis.begin.apl)(\\[)\\s\\s*\\s(?:\\s\\s*\\s[A-Z_a-zÀ-ÖØ-Ýßà-öø-üþ∆⍙Ⓐ-Ⓩ][A-Z_a-zÀ-ÖØ-Ýßà-öø-üþ∆⍙Ⓐ-Ⓩ¯0-9]*\\s*(?#42:invalid.illegal.extra-characters.apl)(.*?)|(?#43:invalid.illegal.apl)([^\\]]*))\\s*(?#44:punctuation.definition.axis.end.apl)(\\]))?\\s*(?#45:entity.function.operands.right.apl)([A-Z_a-zÀ-ÖØ-Ýßà-öø-üþ∆⍙Ⓐ-Ⓩ][A-Z_a-zÀ-ÖØ-Ýßà-öø-üþ∆⍙Ⓐ-Ⓩ¯0-9]*\\s*)?(?#46:punctuation.definition.operands.end.apl)(\\))))\\s*(?#47:entity.function.arguments.right.apl)((?<=\\s|\\])[A-Z_a-zÀ-ÖØ-Ýßà-öø-üþ∆⍙Ⓐ-Ⓩ][A-Z_a-zÀ-ÖØ-Ýßà-öø-üþ∆⍙Ⓐ-Ⓩ¯0-9]*|\\s*(\\()(?#48:punctuation.definition.arguments.begin.apl)(?:\\s*[A-Z_a-zÀ-ÖØ-Ýßà-öø-üþ∆⍙Ⓐ-Ⓩ][A-Z_a-zÀ-ÖØ-Ýßà-öø-üþ∆⍙Ⓐ-Ⓩ¯0-9]*\\s*)*(\\))(?#49:punctuation.definition.arguments.end.apl))?(?#==================))\\s*(?#50:invalid.illegal.arguments.right.apl)([^;]+)?(?#51:entity.function.local-variables.apl)((?#52:Include“;”)((?>\\s*;(?:\\s*[⎕A-Z_a-zÀ-ÖØ-Ýßà-öø-üþ∆⍙Ⓐ-Ⓩ][A-Z_a-zÀ-ÖØ-Ýßà-öø-üþ∆⍙Ⓐ-Ⓩ¯0-9]*\\s*)+)+)|(?#53:invalid.illegal.local-variables.apl)([^⍝]+))?\\s*(?#54:comment.line.apl)(⍝.*)?$", + "begin": "^\\s*?(∇)(?:\\s*(?:([A-Z_a-zÀ-ÖØ-Ýßà-öø-üþ∆⍙Ⓐ-Ⓩ][A-Z_a-zÀ-ÖØ-Ýßà-öø-üþ∆⍙Ⓐ-Ⓩ¯0-9]*)|\\s*((\\{)(?:\\s*[A-Z_a-zÀ-ÖØ-Ýßà-öø-üþ∆⍙Ⓐ-Ⓩ][A-Z_a-zÀ-ÖØ-Ýßà-öø-üþ∆⍙Ⓐ-Ⓩ¯0-9]*\\s*)*(\\})|(\\()(?:\\s*[A-Z_a-zÀ-ÖØ-Ýßà-öø-üþ∆⍙Ⓐ-Ⓩ][A-Z_a-zÀ-ÖØ-Ýßà-öø-üþ∆⍙Ⓐ-Ⓩ¯0-9]*\\s*)*(\\))|(\\(\\s*\\{)(?:\\s*[A-Z_a-zÀ-ÖØ-Ýßà-öø-üþ∆⍙Ⓐ-Ⓩ][A-Z_a-zÀ-ÖØ-Ýßà-öø-üþ∆⍙Ⓐ-Ⓩ¯0-9]*\\s*)*(\\}\\s*\\))|(\\{\\s*\\()(?:\\s*[A-Z_a-zÀ-ÖØ-Ýßà-öø-üþ∆⍙Ⓐ-Ⓩ][A-Z_a-zÀ-ÖØ-Ýßà-öø-üþ∆⍙Ⓐ-Ⓩ¯0-9]*\\s*)*(\\)\\s*\\}))\\s*)\\s*(←))?\\s*(?:(?:([A-Z_a-zÀ-ÖØ-Ýßà-öø-üþ∆⍙Ⓐ-Ⓩ][A-Z_a-zÀ-ÖØ-Ýßà-öø-üþ∆⍙Ⓐ-Ⓩ¯0-9]*)\\s*((\\[)\\s*(?:\\s*[A-Z_a-zÀ-ÖØ-Ýßà-öø-üþ∆⍙Ⓐ-Ⓩ][A-Z_a-zÀ-ÖØ-Ýßà-öø-üþ∆⍙Ⓐ-Ⓩ¯0-9]*\\s*(.*?)|([^\\]]*))\\s*(\\]))?\\s*?((?<=\\s|\\])[A-Z_a-zÀ-ÖØ-Ýßà-öø-üþ∆⍙Ⓐ-Ⓩ][A-Z_a-zÀ-ÖØ-Ýßà-öø-üþ∆⍙Ⓐ-Ⓩ¯0-9]*|(\\()(?:\\s*[A-Z_a-zÀ-ÖØ-Ýßà-öø-üþ∆⍙Ⓐ-Ⓩ][A-Z_a-zÀ-ÖØ-Ýßà-öø-üþ∆⍙Ⓐ-Ⓩ¯0-9]*\\s*)*(\\)))\\s*(?=;|$))|(?:([A-Z_a-zÀ-ÖØ-Ýßà-öø-üþ∆⍙Ⓐ-Ⓩ][A-Z_a-zÀ-ÖØ-Ýßà-öø-üþ∆⍙Ⓐ-Ⓩ¯0-9]*\\s+)|((\\{)(?:\\s*[A-Z_a-zÀ-ÖØ-Ýßà-öø-üþ∆⍙Ⓐ-Ⓩ][A-Z_a-zÀ-ÖØ-Ýßà-öø-üþ∆⍙Ⓐ-Ⓩ¯0-9]*\\s*)*(\\})|(\\(\\s*\\{)(?:\\s*[A-Z_a-zÀ-ÖØ-Ýßà-öø-üþ∆⍙Ⓐ-Ⓩ][A-Z_a-zÀ-ÖØ-Ýßà-öø-üþ∆⍙Ⓐ-Ⓩ¯0-9]*\\s*)*(\\}\\s*\\))|(\\{\\s*\\()(?:\\s*[A-Z_a-zÀ-ÖØ-Ýßà-öø-üþ∆⍙Ⓐ-Ⓩ][A-Z_a-zÀ-ÖØ-Ýßà-öø-üþ∆⍙Ⓐ-Ⓩ¯0-9]*\\s*)*(\\)\\s*\\})))?\\s*(?:([A-Z_a-zÀ-ÖØ-Ýßà-öø-üþ∆⍙Ⓐ-Ⓩ][A-Z_a-zÀ-ÖØ-Ýßà-öø-üþ∆⍙Ⓐ-Ⓩ¯0-9]*)\\s*((\\[)\\s*(?:\\s*[A-Z_a-zÀ-ÖØ-Ýßà-öø-üþ∆⍙Ⓐ-Ⓩ][A-Z_a-zÀ-ÖØ-Ýßà-öø-üþ∆⍙Ⓐ-Ⓩ¯0-9]*\\s*(.*?)|([^\\]]*))\\s*(\\]))?|((\\()(\\s*[A-Z_a-zÀ-ÖØ-Ýßà-öø-üþ∆⍙Ⓐ-Ⓩ][A-Z_a-zÀ-ÖØ-Ýßà-öø-üþ∆⍙Ⓐ-Ⓩ¯0-9]*)?\\s*([A-Z_a-zÀ-ÖØ-Ýßà-öø-üþ∆⍙Ⓐ-Ⓩ][A-Z_a-zÀ-ÖØ-Ýßà-öø-üþ∆⍙Ⓐ-Ⓩ¯0-9]*)\\s*?((\\[)\\s*(?:\\s*[A-Z_a-zÀ-ÖØ-Ýßà-öø-üþ∆⍙Ⓐ-Ⓩ][A-Z_a-zÀ-ÖØ-Ýßà-öø-üþ∆⍙Ⓐ-Ⓩ¯0-9]*\\s*(.*?)|([^\\]]*))\\s*(\\]))?\\s*([A-Z_a-zÀ-ÖØ-Ýßà-öø-üþ∆⍙Ⓐ-Ⓩ][A-Z_a-zÀ-ÖØ-Ýßà-öø-üþ∆⍙Ⓐ-Ⓩ¯0-9]*\\s*)?(\\))))\\s*((?<=\\s|\\])[A-Z_a-zÀ-ÖØ-Ýßà-öø-üþ∆⍙Ⓐ-Ⓩ][A-Z_a-zÀ-ÖØ-Ýßà-öø-üþ∆⍙Ⓐ-Ⓩ¯0-9]*|\\s*(\\()(?:\\s*[A-Z_a-zÀ-ÖØ-Ýßà-öø-üþ∆⍙Ⓐ-Ⓩ][A-Z_a-zÀ-ÖØ-Ýßà-öø-üþ∆⍙Ⓐ-Ⓩ¯0-9]*\\s*)*(\\)))?)\\s*([^;]+)?(((?>\\s*;(?:\\s*[⎕A-Z_a-zÀ-ÖØ-Ýßà-öø-üþ∆⍙Ⓐ-Ⓩ][A-Z_a-zÀ-ÖØ-Ýßà-öø-üþ∆⍙Ⓐ-Ⓩ¯0-9]*\\s*)+)+)|([^⍝]+))?\\s*(⍝.*)?$", "beginCaptures": { "0": { "name": "entity.function.definition.apl" diff --git a/packages/tm-grammars/grammars/applescript.json b/packages/tm-grammars/grammars/applescript.json index d321db7..e080264 100644 --- a/packages/tm-grammars/grammars/applescript.json +++ b/packages/tm-grammars/grammars/applescript.json @@ -62,7 +62,7 @@ ] }, { - "begin": "^(?x)\n\\s*(to|on)\\s+\n(\\w+)\n(\\()\n((?:[\\s,:\\{\\}]*(?:\\w+)?)*)\n(\\))\n", + "begin": "^\\s*(to|on)\\s+(\\w+)(\\()((?:[\\s,:\\{\\}]*(?:\\w+)?)*)(\\))", "beginCaptures": { "1": { "name": "keyword.control.function.applescript" @@ -95,7 +95,7 @@ ] }, { - "begin": "^(?x)\n\\s*(to|on)\\s+\n(\\w+)\n(?:\\s+\n(of|in)\\s+\n(\\w+)\n)?\n(?=\\s+(above|against|apart\\s+from|around|aside\\s+from|at|below|beneath|beside|between|by|for|from|instead\\s+of|into|on|onto|out\\s+of|over|thru|under)\\b)\n", + "begin": "^\\s*(to|on)\\s+(\\w+)(?:\\s+(of|in)\\s+(\\w+))?(?=\\s+(above|against|apart\\s+from|around|aside\\s+from|at|below|beneath|beside|between|by|for|from|instead\\s+of|into|on|onto|out\\s+of|over|thru|under)\\b)", "beginCaptures": { "1": { "name": "keyword.control.function.applescript" @@ -136,7 +136,7 @@ ] }, { - "begin": "^(?x)\n\\s*(to|on)\\s+\n(\\w+)\n(?=\\s*(--.*?)?$)\n", + "begin": "^\\s*(to|on)\\s+(\\w+)(?=\\s*(--.*?)?$)", "beginCaptures": { "1": { "name": "keyword.control.function.applescript" @@ -860,12 +860,12 @@ "name": "keyword.operator.comparison.applescript" }, { - "match": "(?ix)\\b\n(and|or|div|mod|as|not\n|(a\\s+)?(ref(\\s+to)?|reference\\s+to)\n|equal(s|\\s+to)|contains?|comes\\s+(after|before)|(start|begin|end)s?\\s+with\n)\n\\b", + "match": "(?ix)\\b\n\t\t\t\t\t\t(and|or|div|mod|as|not\n\t\t\t\t\t\t|(a\\s+)?(ref(\\s+to)?|reference\\s+to)\n\t\t\t\t\t\t|equal(s|\\s+to)|contains?|comes\\s+(after|before)|(start|begin|end)s?\\s+with\n\t\t\t\t\t\t)\n\t\t\t\t\t\\b", "name": "keyword.operator.word.applescript" }, { "comment": "In double quotes so we can use a single quote in the keywords.", - "match": "(?ix)\\b\n(is(n't|\\s+not)?(\\s+(equal(\\s+to)?|(less|greater)\\s+than(\\s+or\\s+equal(\\s+to)?)?|in|contained\\s+by))?\n|does(n't|\\s+not)\\s+(equal|come\\s+(before|after)|contain)\n)\n\\b", + "match": "(?ix)\\b\n\t\t\t\t\t\t(is(n't|\\s+not)?(\\s+(equal(\\s+to)?|(less|greater)\\s+than(\\s+or\\s+equal(\\s+to)?)?|in|contained\\s+by))?\n\t\t\t\t\t\t|does(n't|\\s+not)\\s+(equal|come\\s+(before|after)|contain)\n\t\t\t\t\t\t)\n\t\t\t\t\t\\b", "name": "keyword.operator.word.applescript" }, { @@ -927,7 +927,7 @@ "name": "support.class.built-in.applescript" }, { - "match": "(?ix)\\b\n(\t(cubic\\s+(centi)?|square\\s+(kilo)?|centi|kilo)met(er|re)s\n|\tsquare\\s+(yards|feet|miles)|cubic\\s+(yards|feet|inches)|miles|inches\n|\tlit(re|er)s|gallons|quarts\n|\t(kilo)?grams|ounces|pounds\n|\tdegrees\\s+(Celsius|Fahrenheit|Kelvin)\n)\n\\b", + "match": "(?ix)\\b\n\t\t\t\t\t\t(\t(cubic\\s+(centi)?|square\\s+(kilo)?|centi|kilo)met(er|re)s\n\t\t\t\t\t\t|\tsquare\\s+(yards|feet|miles)|cubic\\s+(yards|feet|inches)|miles|inches\n\t\t\t\t\t\t|\tlit(re|er)s|gallons|quarts\n\t\t\t\t\t\t|\t(kilo)?grams|ounces|pounds\n\t\t\t\t\t\t|\tdegrees\\s+(Celsius|Fahrenheit|Kelvin)\n\t\t\t\t\t\t)\n\t\t\t\t\t\\b", "name": "support.class.built-in.unit.applescript" }, { diff --git a/packages/tm-grammars/grammars/blade.json b/packages/tm-grammars/grammars/blade.json index 92ef212..c05b340 100644 --- a/packages/tm-grammars/grammars/blade.json +++ b/packages/tm-grammars/grammars/blade.json @@ -385,7 +385,7 @@ ] }, { - "begin": "(?[^\\[\\]]+|\\[\\g<8>\\])*)(\\])\n|((?:\\S*?\\(\\))|(?:\\S*?))\n)\n)?\n\\s*(?=,|\\)|/[/*]|\\#|$)", + "match": "(?xi)\n(array|callable) # Typehint\n\\s+((&)?\\s*(\\$+)[a-z_\\x{7f}-\\x{ff}][a-z0-9_\\x{7f}-\\x{ff}]*) # Variable name with possible reference\n(?: # Optional default value\n \\s*(=)\\s*\n (?:\n (null)\n |\n (\\[)((?>[^\\[\\]]+|\\[\\g<8>\\])*)(\\])\n |((?:\\S*?\\(\\))|(?:\\S*?))\n )\n)?\n\\s*(?=,|\\)|/[/*]|\\#|$) # A closing parentheses (end of argument list) or a comma or a comment", "name": "meta.function.parameter.array.php" }, { - "begin": "(?xi)\n(\\\\?(?:[a-z_\\x{7f}-\\x{ff}][a-z0-9_\\x{7f}-\\x{ff}]*\\\\)*)\n([a-z_\\x{7f}-\\x{ff}][a-z0-9_\\x{7f}-\\x{ff}]*)\n\\s+((&)?\\s*(\\.\\.\\.)?(\\$+)[a-z_\\x{7f}-\\x{ff}][a-z0-9_\\x{7f}-\\x{ff}]*)", + "begin": "(?xi)\n(\\\\?(?:[a-z_\\x{7f}-\\x{ff}][a-z0-9_\\x{7f}-\\x{ff}]*\\\\)*) # Optional namespace\n([a-z_\\x{7f}-\\x{ff}][a-z0-9_\\x{7f}-\\x{ff}]*) # Typehinted class name\n\\s+((&)?\\s*(\\.\\.\\.)?(\\$+)[a-z_\\x{7f}-\\x{ff}][a-z0-9_\\x{7f}-\\x{ff}]*) # Variable name with possible reference", "beginCaptures": { "1": { "name": "support.other.namespace.php", @@ -928,11 +928,11 @@ "name": "punctuation.definition.variable.php" } }, - "match": "(?xi)\n((&)?\\s*(\\.\\.\\.)?(\\$+)[a-z_\\x{7f}-\\x{ff}][a-z0-9_\\x{7f}-\\x{ff}]*)\n\\s*(?=,|\\)|/[/*]|\\#|$)", + "match": "(?xi)\n((&)?\\s*(\\.\\.\\.)?(\\$+)[a-z_\\x{7f}-\\x{ff}][a-z0-9_\\x{7f}-\\x{ff}]*) # Variable name with possible reference\n\\s*(?=,|\\)|/[/*]|\\#|$) # A closing parentheses (end of argument list) or a comma or a comment", "name": "meta.function.parameter.no-default.php" }, { - "begin": "(?xi)\n((&)?\\s*(\\.\\.\\.)?(\\$+)[a-z_\\x{7f}-\\x{ff}][a-z0-9_\\x{7f}-\\x{ff}]*)\n\\s*(=)\\s*\n(?:(\\[)((?>[^\\[\\]]+|\\[\\g<6>\\])*)(\\]))?", + "begin": "(?xi)\n((&)?\\s*(\\.\\.\\.)?(\\$+)[a-z_\\x{7f}-\\x{ff}][a-z0-9_\\x{7f}-\\x{ff}]*) # Variable name with possible reference\n\\s*(=)\\s*\n(?:(\\[)((?>[^\\[\\]]+|\\[\\g<6>\\])*)(\\]))? # Optional default type", "beginCaptures": { "1": { "name": "variable.other.php" @@ -1817,7 +1817,7 @@ "name": "punctuation.definition.variable.php" } }, - "match": "(?xi)\n([a-z_\\x{7f}-\\x{ff}][a-z0-9_\\x{7f}-\\x{ff}]*)\n((?:\\s*\\|\\s*[a-z_\\x{7f}-\\x{ff}][a-z0-9_\\x{7f}-\\x{ff}]*)*)\n\\s*\n((\\$+)[a-z_\\x{7f}-\\x{ff}][a-z0-9_\\x{7f}-\\x{ff}]*)" + "match": "(?xi)\n([a-z_\\x{7f}-\\x{ff}][a-z0-9_\\x{7f}-\\x{ff}]*) # Exception class\n((?:\\s*\\|\\s*[a-z_\\x{7f}-\\x{ff}][a-z0-9_\\x{7f}-\\x{ff}]*)*) # Optional additional exception classes\n\\s*\n((\\$+)[a-z_\\x{7f}-\\x{ff}][a-z0-9_\\x{7f}-\\x{ff}]*) # Variable" } ] }, @@ -2665,7 +2665,7 @@ "include": "#instantiation" }, { - "begin": "(?xi)\n(?=[a-z0-9_\\x{7f}-\\x{ff}\\\\]+(::)\n([a-z_\\x{7f}-\\x{ff}][a-z0-9_\\x{7f}-\\x{ff}]*)?\n)", + "begin": "(?xi)\n(?=[a-z0-9_\\x{7f}-\\x{ff}\\\\]+(::)\n ([a-z_\\x{7f}-\\x{ff}][a-z0-9_\\x{7f}-\\x{ff}]*)?\n)", "end": "(?i)(::)([a-z_\\x{7f}-\\x{ff}][a-z0-9_\\x{7f}-\\x{ff}]*)?", "endCaptures": { "1": { @@ -2998,7 +2998,7 @@ "name": "constant.other.class.php" } }, - "match": "(?xi)\n(::)\\s*\n(?:\n((\\$+)[a-z_\\x{7f}-\\x{ff}][a-z0-9_\\x{7f}-\\x{ff}]*)\n|\n([a-z_\\x{7f}-\\x{ff}][a-z0-9_\\x{7f}-\\x{ff}]*)\n)?" + "match": "(?xi)\n(::)\\s*\n(?:\n ((\\$+)[a-z_\\x{7f}-\\x{ff}][a-z0-9_\\x{7f}-\\x{ff}]*) # Variable\n |\n ([a-z_\\x{7f}-\\x{ff}][a-z0-9_\\x{7f}-\\x{ff}]*) # Constant\n)?" } ] }, @@ -3221,15 +3221,15 @@ "support": { "patterns": [ { - "match": "(?xi)\n\\b\napc_(\nstore|sma_info|compile_file|clear_cache|cas|cache_info|inc|dec|define_constants|delete(_file)?|\nexists|fetch|load_constants|add|bin_(dump|load)(file)?\n)\\b", + "match": "(?xi)\n\\b\napc_(\n store|sma_info|compile_file|clear_cache|cas|cache_info|inc|dec|define_constants|delete(_file)?|\n exists|fetch|load_constants|add|bin_(dump|load)(file)?\n)\\b", "name": "support.function.apc.php" }, { - "match": "(?xi)\\b\n(\nshuffle|sizeof|sort|next|nat(case)?sort|count|compact|current|in_array|usort|uksort|uasort|\npos|prev|end|each|extract|ksort|key(_exists)?|krsort|list|asort|arsort|rsort|reset|range|\narray(_(shift|sum|splice|search|slice|chunk|change_key_case|count_values|column|combine|\n(diff|intersect)(_(u)?(key|assoc))?|u(diff|intersect)(_(u)?assoc)?|unshift|unique|\npop|push|pad|product|values|keys|key_exists|filter|fill(_keys)?|flip|walk(_recursive)?|\nreduce|replace(_recursive)?|reverse|rand|multisort|merge(_recursive)?|map)?)\n)\\b", + "match": "(?xi)\\b\n(\n shuffle|sizeof|sort|next|nat(case)?sort|count|compact|current|in_array|usort|uksort|uasort|\n pos|prev|end|each|extract|ksort|key(_exists)?|krsort|list|asort|arsort|rsort|reset|range|\n array(_(shift|sum|splice|search|slice|chunk|change_key_case|count_values|column|combine|\n (diff|intersect)(_(u)?(key|assoc))?|u(diff|intersect)(_(u)?assoc)?|unshift|unique|\n pop|push|pad|product|values|keys|key_exists|filter|fill(_keys)?|flip|walk(_recursive)?|\n reduce|replace(_recursive)?|reverse|rand|multisort|merge(_recursive)?|map)?)\n)\\b", "name": "support.function.array.php" }, { - "match": "(?xi)\\b\n(\nshow_source|sys_getloadavg|sleep|highlight_(file|string)|constant|connection_(aborted|status)|\ntime_(nanosleep|sleep_until)|ignore_user_abort|die|define(d)?|usleep|uniqid|unpack|__halt_compiler|\nphp_(check_syntax|strip_whitespace)|pack|eval|exit|get_browser\n)\\b", + "match": "(?xi)\\b\n(\n show_source|sys_getloadavg|sleep|highlight_(file|string)|constant|connection_(aborted|status)|\n time_(nanosleep|sleep_until)|ignore_user_abort|die|define(d)?|usleep|uniqid|unpack|__halt_compiler|\n php_(check_syntax|strip_whitespace)|pack|eval|exit|get_browser\n)\\b", "name": "support.function.basic_functions.php" }, { @@ -3245,15 +3245,15 @@ "name": "support.function.bz2.php" }, { - "match": "(?xi)\\b\n(\n(French|Gregorian|Jewish|Julian)ToJD|cal_(to_jd|info|days_in_month|from_jd)|unixtojd|\njdto(unix|jewish)|easter_(date|days)|JD(MonthName|To(Gregorian|Julian|French)|DayOfWeek)\n)\\b", + "match": "(?xi)\\b\n(\n (French|Gregorian|Jewish|Julian)ToJD|cal_(to_jd|info|days_in_month|from_jd)|unixtojd|\n jdto(unix|jewish)|easter_(date|days)|JD(MonthName|To(Gregorian|Julian|French)|DayOfWeek)\n)\\b", "name": "support.function.calendar.php" }, { - "match": "(?xi)\\b\n(\nclass_alias|all_user_method(_array)?|is_(a|subclass_of)|__autoload|(class|interface|method|property|trait)_exists|\nget_(class(_(vars|methods))?|(called|parent)_class|object_vars|declared_(classes|interfaces|traits))\n)\\b", + "match": "(?xi)\\b\n(\n class_alias|all_user_method(_array)?|is_(a|subclass_of)|__autoload|(class|interface|method|property|trait)_exists|\n get_(class(_(vars|methods))?|(called|parent)_class|object_vars|declared_(classes|interfaces|traits))\n)\\b", "name": "support.function.classobj.php" }, { - "match": "(?xi)\\b\n(\ncom_(create_guid|print_typeinfo|event_sink|load_typelib|get_active_object|message_pump)|\nvariant_(sub|set(_type)?|not|neg|cast|cat|cmp|int|idiv|imp|or|div|date_(from|to)_timestamp|\npow|eqv|fix|and|add|abs|round|get_type|xor|mod|mul)\n)\\b", + "match": "(?xi)\\b\n(\n com_(create_guid|print_typeinfo|event_sink|load_typelib|get_active_object|message_pump)|\n variant_(sub|set(_type)?|not|neg|cast|cat|cmp|int|idiv|imp|or|div|date_(from|to)_timestamp|\n pow|eqv|fix|and|add|abs|round|get_type|xor|mod|mul)\n)\\b", "name": "support.function.com.php" }, { @@ -3269,11 +3269,11 @@ "name": "support.function.ctype.php" }, { - "match": "(?xi)\\b\ncurl_(\nshare_(close|init|setopt)|strerror|setopt(_array)?|copy_handle|close|init|unescape|pause|escape|\nerrno|error|exec|version|file_create|reset|getinfo|\nmulti_(strerror|setopt|select|close|init|info_read|(add|remove)_handle|getcontent|exec)\n)\\b", + "match": "(?xi)\\b\ncurl_(\n share_(close|init|setopt)|strerror|setopt(_array)?|copy_handle|close|init|unescape|pause|escape|\n errno|error|exec|version|file_create|reset|getinfo|\n multi_(strerror|setopt|select|close|init|info_read|(add|remove)_handle|getcontent|exec)\n)\\b", "name": "support.function.curl.php" }, { - "match": "(?xi)\\b\n(\nstrtotime|str[fp]time|checkdate|time|timezone_name_(from_abbr|get)|idate|\ntimezone_((location|offset|transitions|version)_get|(abbreviations|identifiers)_list|open)|\ndate(_(sun(rise|set)|sun_info|sub|create(_(immutable_)?from_format)?|timestamp_(get|set)|timezone_(get|set)|time_set|\nisodate_set|interval_(create_from_date_string|format)|offset_get|diff|default_timezone_(get|set)|date_set|\nparse(_from_format)?|format|add|get_last_errors|modify))?|\nlocaltime|get(date|timeofday)|gm(strftime|date|mktime)|microtime|mktime\n)\\b", + "match": "(?xi)\\b\n(\n strtotime|str[fp]time|checkdate|time|timezone_name_(from_abbr|get)|idate|\n timezone_((location|offset|transitions|version)_get|(abbreviations|identifiers)_list|open)|\n date(_(sun(rise|set)|sun_info|sub|create(_(immutable_)?from_format)?|timestamp_(get|set)|timezone_(get|set)|time_set|\n isodate_set|interval_(create_from_date_string|format)|offset_get|diff|default_timezone_(get|set)|date_set|\n parse(_from_format)?|format|add|get_last_errors|modify))?|\n localtime|get(date|timeofday)|gm(strftime|date|mktime)|microtime|mktime\n)\\b", "name": "support.function.datetime.php" }, { @@ -3289,11 +3289,11 @@ "name": "support.function.dir.php" }, { - "match": "(?xi)\\b\neio_(\nsync(fs)?|sync_file_range|symlink|stat(vfs)?|sendfile|set_min_parallel|set_max_(idle|poll_(reqs|time)|parallel)|\nseek|n(threads|op|pending|reqs|ready)|chown|chmod|custom|close|cancel|truncate|init|open|dup2|unlink|utime|poll|\nevent_loop|f(sync|stat(vfs)?|chown|chmod|truncate|datasync|utime|allocate)|write|lstat|link|rename|realpath|\nread(ahead|dir|link)?|rmdir|get_(event_stream|last_error)|grp(_(add|cancel|limit))?|mknod|mkdir|busy\n)\\b", + "match": "(?xi)\\b\neio_(\n sync(fs)?|sync_file_range|symlink|stat(vfs)?|sendfile|set_min_parallel|set_max_(idle|poll_(reqs|time)|parallel)|\n seek|n(threads|op|pending|reqs|ready)|chown|chmod|custom|close|cancel|truncate|init|open|dup2|unlink|utime|poll|\n event_loop|f(sync|stat(vfs)?|chown|chmod|truncate|datasync|utime|allocate)|write|lstat|link|rename|realpath|\n read(ahead|dir|link)?|rmdir|get_(event_stream|last_error)|grp(_(add|cancel|limit))?|mknod|mkdir|busy\n)\\b", "name": "support.function.eio.php" }, { - "match": "(?xi)\\b\nenchant_(\ndict_(store_replacement|suggest|check|is_in_session|describe|quick_check|add_to_(personal|session)|get_error)|\nbroker_(set_ordering|init|dict_exists|describe|free(_dict)?|list_dicts|request_(pwl_)?dict|get_error)\n)\\b", + "match": "(?xi)\\b\nenchant_(\n dict_(store_replacement|suggest|check|is_in_session|describe|quick_check|add_to_(personal|session)|get_error)|\n broker_(set_ordering|init|dict_exists|describe|free(_dict)?|list_dicts|request_(pwl_)?dict|get_error)\n)\\b", "name": "support.function.enchant.php" }, { @@ -3313,11 +3313,11 @@ "name": "support.function.exif.php" }, { - "match": "(?xi)\\b\nfann_(\n(duplicate|length|merge|shuffle|subset)_train_data|scale_(train(_data)?|(input|output)(_train_data)?)|\nset_(scaling_params|sarprop_(step_error_(shift|threshold_factor)|temperature|weight_decay_shift)|\ncascade_(num_candidate_groups|candidate_(change_fraction|limit|stagnation_epochs)|\noutput_(change_fraction|stagnation_epochs)|weight_multiplier|activation_(functions|steepnesses)|\n(max|min)_(cand|out)_epochs)|\ncallback|training_algorithm|train_(error|stop)_function|(input|output)_scaling_params|error_log|\nquickprop_(decay|mu)|weight(_array)?|learning_(momentum|rate)|bit_fail_limit|\nactivation_(function|steepness)(_(hidden|layer|output))?|\nrprop_((decrease|increase)_factor|delta_(max|min|zero)))|\nsave(_train)?|num_(input|output)_train_data|copy|clear_scaling_params|cascadetrain_on_(file|data)|\ncreate_((sparse|shortcut|standard)(_array)?|train(_from_callback)?|from_file)|\ntest(_data)?|train(_(on_(file|data)|epoch))?|init_weights|descale_(input|output|train)|destroy(_train)?|\nprint_error|run|reset_(MSE|err(no|str))|read_train_from_file|randomize_weights|\nget_(sarprop_(step_error_(shift|threshold_factor)|temperature|weight_decay_shift)|num_(input|output|layers)|\nnetwork_type|MSE|connection_(array|rate)|bias_array|bit_fail(_limit)?|\ncascade_(num_(candidates|candidate_groups)|(candidate|output)_(change_fraction|limit|stagnation_epochs)|\nweight_multiplier|activation_(functions|steepnesses)(_count)?|(max|min)_(cand|out)_epochs)|\ntotal_(connections|neurons)|training_algorithm|train_(error|stop)_function|err(no|str)|\nquickprop_(decay|mu)|learning_(momentum|rate)|layer_array|activation_(function|steepness)|\nrprop_((decrease|increase)_factor|delta_(max|min|zero)))\n)\\b", + "match": "(?xi)\\b\nfann_(\n (duplicate|length|merge|shuffle|subset)_train_data|scale_(train(_data)?|(input|output)(_train_data)?)|\n set_(scaling_params|sarprop_(step_error_(shift|threshold_factor)|temperature|weight_decay_shift)|\n cascade_(num_candidate_groups|candidate_(change_fraction|limit|stagnation_epochs)|\n output_(change_fraction|stagnation_epochs)|weight_multiplier|activation_(functions|steepnesses)|\n (max|min)_(cand|out)_epochs)|\n callback|training_algorithm|train_(error|stop)_function|(input|output)_scaling_params|error_log|\n quickprop_(decay|mu)|weight(_array)?|learning_(momentum|rate)|bit_fail_limit|\n activation_(function|steepness)(_(hidden|layer|output))?|\n rprop_((decrease|increase)_factor|delta_(max|min|zero)))|\n save(_train)?|num_(input|output)_train_data|copy|clear_scaling_params|cascadetrain_on_(file|data)|\n create_((sparse|shortcut|standard)(_array)?|train(_from_callback)?|from_file)|\n test(_data)?|train(_(on_(file|data)|epoch))?|init_weights|descale_(input|output|train)|destroy(_train)?|\n print_error|run|reset_(MSE|err(no|str))|read_train_from_file|randomize_weights|\n get_(sarprop_(step_error_(shift|threshold_factor)|temperature|weight_decay_shift)|num_(input|output|layers)|\n network_type|MSE|connection_(array|rate)|bias_array|bit_fail(_limit)?|\n cascade_(num_(candidates|candidate_groups)|(candidate|output)_(change_fraction|limit|stagnation_epochs)|\n weight_multiplier|activation_(functions|steepnesses)(_count)?|(max|min)_(cand|out)_epochs)|\n total_(connections|neurons)|training_algorithm|train_(error|stop)_function|err(no|str)|\n quickprop_(decay|mu)|learning_(momentum|rate)|layer_array|activation_(function|steepness)|\n rprop_((decrease|increase)_factor|delta_(max|min|zero)))\n)\\b", "name": "support.function.fann.php" }, { - "match": "(?xi)\\b\n(\nsymlink|stat|set_file_buffer|chown|chgrp|chmod|copy|clearstatcache|touch|tempnam|tmpfile|\nis_(dir|(uploaded_)?file|executable|link|readable|writ(e)?able)|disk_(free|total)_space|diskfreespace|\ndirname|delete|unlink|umask|pclose|popen|pathinfo|parse_ini_(file|string)|fscanf|fstat|fseek|fnmatch|\nfclose|ftell|ftruncate|file(size|[acm]time|type|inode|owner|perms|group)?|file_(exists|(get|put)_contents)|\nf(open|puts|putcsv|passthru|eof|flush|write|lock|read|gets(s)?|getc(sv)?)|lstat|lchown|lchgrp|link(info)?|\nrename|rewind|read(file|link)|realpath(_cache_(get|size))?|rmdir|glob|move_uploaded_file|mkdir|basename\n)\\b", + "match": "(?xi)\\b\n(\n symlink|stat|set_file_buffer|chown|chgrp|chmod|copy|clearstatcache|touch|tempnam|tmpfile|\n is_(dir|(uploaded_)?file|executable|link|readable|writ(e)?able)|disk_(free|total)_space|diskfreespace|\n dirname|delete|unlink|umask|pclose|popen|pathinfo|parse_ini_(file|string)|fscanf|fstat|fseek|fnmatch|\n fclose|ftell|ftruncate|file(size|[acm]time|type|inode|owner|perms|group)?|file_(exists|(get|put)_contents)|\n f(open|puts|putcsv|passthru|eof|flush|write|lock|read|gets(s)?|getc(sv)?)|lstat|lchown|lchgrp|link(info)?|\n rename|rewind|read(file|link)|realpath(_cache_(get|size))?|rmdir|glob|move_uploaded_file|mkdir|basename\n)\\b", "name": "support.function.file.php" }, { @@ -3341,7 +3341,7 @@ "name": "support.function.gettext.php" }, { - "match": "(?xi)\\b\ngmp_(\nscan[01]|strval|sign|sub|setbit|sqrt(rem)?|hamdist|neg|nextprime|com|clrbit|cmp|testbit|\nintval|init|invert|import|or|div(exact)?|div_(q|qr|r)|jacobi|popcount|pow(m)?|perfect_square|\nprob_prime|export|fact|legendre|and|add|abs|root(rem)?|random(_(bits|range))?|gcd(ext)?|xor|mod|mul\n)\\b", + "match": "(?xi)\\b\ngmp_(\n scan[01]|strval|sign|sub|setbit|sqrt(rem)?|hamdist|neg|nextprime|com|clrbit|cmp|testbit|\n intval|init|invert|import|or|div(exact)?|div_(q|qr|r)|jacobi|popcount|pow(m)?|perfect_square|\n prob_prime|export|fact|legendre|and|add|abs|root(rem)?|random(_(bits|range))?|gcd(ext)?|xor|mod|mul\n)\\b", "name": "support.function.gmp.php" }, { @@ -3349,7 +3349,7 @@ "name": "support.function.hash.php" }, { - "match": "(?xi)\\b\n(\nhttp_(support|send_(status|stream|content_(disposition|type)|data|file|last_modified)|head|\nnegotiate_(charset|content_type|language)|chunked_decode|cache_(etag|last_modified)|throttle|\ninflate|deflate|date|post_(data|fields)|put_(data|file|stream)|persistent_handles_(count|clean|ident)|\nparse_(cookie|headers|message|params)|redirect|request(_(method_(exists|name|(un)?register)|body_encode))?|\nget(_request_(headers|body(_stream)?))?|match_(etag|modified|request_header)|build_(cookie|str|url))|\nob_(etag|deflate|inflate)handler\n)\\b", + "match": "(?xi)\\b\n(\n http_(support|send_(status|stream|content_(disposition|type)|data|file|last_modified)|head|\n negotiate_(charset|content_type|language)|chunked_decode|cache_(etag|last_modified)|throttle|\n inflate|deflate|date|post_(data|fields)|put_(data|file|stream)|persistent_handles_(count|clean|ident)|\n parse_(cookie|headers|message|params)|redirect|request(_(method_(exists|name|(un)?register)|body_encode))?|\n get(_request_(headers|body(_stream)?))?|match_(etag|modified|request_header)|build_(cookie|str|url))|\n ob_(etag|deflate|inflate)handler\n)\\b", "name": "support.function.http.php" }, { @@ -3361,19 +3361,19 @@ "name": "support.function.iisfunc.php" }, { - "match": "(?xi)\\b\n(\niptc(embed|parse)|(jpeg|png)2wbmp|gd_info|getimagesize(fromstring)?|\nimage(s[xy]|scale|(char|string)(up)?|set(style|thickness|tile|interpolation|pixel|brush)|savealpha|\nconvolution|copy(resampled|resized|merge(gray)?)?|colors(forindex|total)|\ncolor(set|closest(alpha|hwb)?|transparent|deallocate|(allocate|exact|resolve)(alpha)?|at|match)|\ncrop(auto)?|create(truecolor|from(string|jpeg|png|wbmp|webp|gif|gd(2(part)?)?|xpm|xbm))?|\ntypes|ttf(bbox|text)|truecolortopalette|istruecolor|interlace|2wbmp|destroy|dashedline|jpeg|\n_type_to_(extension|mime_type)|ps(slantfont|text|(encode|extend|free|load)font|bbox)|png|polygon|\npalette(copy|totruecolor)|ellipse|ft(text|bbox)|filter|fill|filltoborder|\nfilled(arc|ellipse|polygon|rectangle)|font(height|width)|flip|webp|wbmp|line|loadfont|layereffect|\nantialias|affine(matrix(concat|get))?|alphablending|arc|rotate|rectangle|gif|gd(2)?|gammacorrect|\ngrab(screen|window)|xbm)\n)\\b", + "match": "(?xi)\\b\n(\n iptc(embed|parse)|(jpeg|png)2wbmp|gd_info|getimagesize(fromstring)?|\n image(s[xy]|scale|(char|string)(up)?|set(style|thickness|tile|interpolation|pixel|brush)|savealpha|\n convolution|copy(resampled|resized|merge(gray)?)?|colors(forindex|total)|\n color(set|closest(alpha|hwb)?|transparent|deallocate|(allocate|exact|resolve)(alpha)?|at|match)|\n crop(auto)?|create(truecolor|from(string|jpeg|png|wbmp|webp|gif|gd(2(part)?)?|xpm|xbm))?|\n types|ttf(bbox|text)|truecolortopalette|istruecolor|interlace|2wbmp|destroy|dashedline|jpeg|\n _type_to_(extension|mime_type)|ps(slantfont|text|(encode|extend|free|load)font|bbox)|png|polygon|\n palette(copy|totruecolor)|ellipse|ft(text|bbox)|filter|fill|filltoborder|\n filled(arc|ellipse|polygon|rectangle)|font(height|width)|flip|webp|wbmp|line|loadfont|layereffect|\n antialias|affine(matrix(concat|get))?|alphablending|arc|rotate|rectangle|gif|gd(2)?|gammacorrect|\n grab(screen|window)|xbm)\n)\\b", "name": "support.function.image.php" }, { - "match": "(?xi)\\b\n(\nsys_get_temp_dir|set_(time_limit|include_path|magic_quotes_runtime)|cli_(get|set)_process_title|\nini_(alter|get(_all)?|restore|set)|zend_(thread_id|version|logo_guid)|dl|php(credits|info|version)|\nphp_(sapi_name|ini_(scanned_files|loaded_file)|uname|logo_guid)|putenv|extension_loaded|version_compare|\nassert(_options)?|restore_include_path|gc_(collect_cycles|disable|enable(d)?)|getopt|\nget_(cfg_var|current_user|defined_constants|extension_funcs|include_path|included_files|loaded_extensions|\nmagic_quotes_(gpc|runtime)|required_files|resources)|\nget(env|lastmod|rusage|my(inode|[gup]id))|\nmemory_get_(peak_)?usage|main|magic_quotes_runtime\n)\\b", + "match": "(?xi)\\b\n(\n sys_get_temp_dir|set_(time_limit|include_path|magic_quotes_runtime)|cli_(get|set)_process_title|\n ini_(alter|get(_all)?|restore|set)|zend_(thread_id|version|logo_guid)|dl|php(credits|info|version)|\n php_(sapi_name|ini_(scanned_files|loaded_file)|uname|logo_guid)|putenv|extension_loaded|version_compare|\n assert(_options)?|restore_include_path|gc_(collect_cycles|disable|enable(d)?)|getopt|\n get_(cfg_var|current_user|defined_constants|extension_funcs|include_path|included_files|loaded_extensions|\n magic_quotes_(gpc|runtime)|required_files|resources)|\n get(env|lastmod|rusage|my(inode|[gup]id))|\n memory_get_(peak_)?usage|main|magic_quotes_runtime\n)\\b", "name": "support.function.info.php" }, { - "match": "(?xi)\\b\nibase_(\nset_event_handler|service_(attach|detach)|server_info|num_(fields|params)|name_result|connect|\ncommit(_ret)?|close|trans|delete_user|drop_db|db_info|pconnect|param_info|prepare|err(code|msg)|\nexecute|query|field_info|fetch_(assoc|object|row)|free_(event_handler|query|result)|wait_event|\nadd_user|affected_rows|rollback(_ret)?|restore|gen_id|modify_user|maintain_db|backup|\nblob_(cancel|close|create|import|info|open|echo|add|get)\n)\\b", + "match": "(?xi)\\b\nibase_(\n set_event_handler|service_(attach|detach)|server_info|num_(fields|params)|name_result|connect|\n commit(_ret)?|close|trans|delete_user|drop_db|db_info|pconnect|param_info|prepare|err(code|msg)|\n execute|query|field_info|fetch_(assoc|object|row)|free_(event_handler|query|result)|wait_event|\n add_user|affected_rows|rollback(_ret)?|restore|gen_id|modify_user|maintain_db|backup|\n blob_(cancel|close|create|import|info|open|echo|add|get)\n)\\b", "name": "support.function.interbase.php" }, { - "match": "(?xi)\\b\n(\nnormalizer_(normalize|is_normalized)|idn_to_(unicode|utf8|ascii)|\nnumfmt_(set_(symbol|(text_)?attribute|pattern)|create|(parse|format)(_currency)?|\nget_(symbol|(text_)?attribute|pattern|error_(code|message)|locale))|\ncollator_(sort(_with_sort_keys)?|set_(attribute|strength)|compare|create|asort|\nget_(strength|sort_key|error_(code|message)|locale|attribute))|\ntransliterator_(create(_(inverse|from_rules))?|transliterate|list_ids|get_error_(code|message))|\nintl(cal|tz)_get_error_(code|message)|intl_(is_failure|error_name|get_error_(code|message))|\ndatefmt_(set_(calendar|lenient|pattern|timezone(_id)?)|create|is_lenient|parse|format(_object)?|localtime|\nget_(calendar(_object)?|time(type|zone(_id)?)|datetype|pattern|error_(code|message)|locale))|\nlocale_(set_default|compose|canonicalize|parse|filter_matches|lookup|accept_from_http|\nget_(script|display_(script|name|variant|language|region)|default|primary_language|keywords|all_variants|region))|\nresourcebundle_(create|count|locales|get(_(error_(code|message)))?)|\ngrapheme_(str(i?str|r?i?pos|len)|substr|extract)|\nmsgfmt_(set_pattern|create|(format|parse)(_message)?|get_(pattern|error_(code|message)|locale))\n)\\b", + "match": "(?xi)\\b\n(\n normalizer_(normalize|is_normalized)|idn_to_(unicode|utf8|ascii)|\n numfmt_(set_(symbol|(text_)?attribute|pattern)|create|(parse|format)(_currency)?|\n get_(symbol|(text_)?attribute|pattern|error_(code|message)|locale))|\n collator_(sort(_with_sort_keys)?|set_(attribute|strength)|compare|create|asort|\n get_(strength|sort_key|error_(code|message)|locale|attribute))|\n transliterator_(create(_(inverse|from_rules))?|transliterate|list_ids|get_error_(code|message))|\n intl(cal|tz)_get_error_(code|message)|intl_(is_failure|error_name|get_error_(code|message))|\n datefmt_(set_(calendar|lenient|pattern|timezone(_id)?)|create|is_lenient|parse|format(_object)?|localtime|\n get_(calendar(_object)?|time(type|zone(_id)?)|datetype|pattern|error_(code|message)|locale))|\n locale_(set_default|compose|canonicalize|parse|filter_matches|lookup|accept_from_http|\n get_(script|display_(script|name|variant|language|region)|default|primary_language|keywords|all_variants|region))|\n resourcebundle_(create|count|locales|get(_(error_(code|message)))?)|\n grapheme_(str(i?str|r?i?pos|len)|substr|extract)|\n msgfmt_(set_pattern|create|(format|parse)(_message)?|get_(pattern|error_(code|message)|locale))\n)\\b", "name": "support.function.intl.php" }, { @@ -3381,7 +3381,7 @@ "name": "support.function.json.php" }, { - "match": "(?xi)\\b\nldap_(\nstart|tls|sort|search|sasl_bind|set_(option|rebind_proc)|(first|next)_(attribute|entry|reference)|\nconnect|control_paged_result(_response)?|count_entries|compare|close|t61_to_8859|8859_to_t61|\ndn2ufn|delete|unbind|parse_(reference|result)|escape|errno|err2str|error|explode_dn|bind|\nfree_result|list|add|rename|read|get_(option|dn|entries|values(_len)?|attributes)|modify(_batch)?|\nmod_(add|del|replace)\n)\\b", + "match": "(?xi)\\b\nldap_(\n start|tls|sort|search|sasl_bind|set_(option|rebind_proc)|(first|next)_(attribute|entry|reference)|\n connect|control_paged_result(_response)?|count_entries|compare|close|t61_to_8859|8859_to_t61|\n dn2ufn|delete|unbind|parse_(reference|result)|escape|errno|err2str|error|explode_dn|bind|\n free_result|list|add|rename|read|get_(option|dn|entries|values(_len)?|attributes)|modify(_batch)?|\n mod_(add|del|replace)\n)\\b", "name": "support.function.ldap.php" }, { @@ -3393,15 +3393,15 @@ "name": "support.function.mail.php" }, { - "match": "(?xi)\\b\n(\n(a)?(cos|sin|tan)(h)?|sqrt|srand|hypot|hexdec|ceil|is_(nan|(in)?finite)|octdec|dec(hex|oct|bin)|deg2rad|\npi|pow|exp(m1)?|floor|fmod|lcg_value|log(1(p|0))?|atan2|abs|round|rand|rad2deg|getrandmax|\nmt_(srand|rand|getrandmax)|max|min|bindec|base_convert\n)\\b", + "match": "(?xi)\\b\n(\n (a)?(cos|sin|tan)(h)?|sqrt|srand|hypot|hexdec|ceil|is_(nan|(in)?finite)|octdec|dec(hex|oct|bin)|deg2rad|\n pi|pow|exp(m1)?|floor|fmod|lcg_value|log(1(p|0))?|atan2|abs|round|rand|rad2deg|getrandmax|\n mt_(srand|rand|getrandmax)|max|min|bindec|base_convert\n)\\b", "name": "support.function.math.php" }, { - "match": "(?xi)\\b\nmb_(\nstr(cut|str|to(lower|upper)|istr|ipos|imwidth|pos|width|len|rchr|richr|ripos|rpos)|\nsubstitute_character|substr(_count)?|split|send_mail|http_(input|output)|check_encoding|\nconvert_(case|encoding|kana|variables)|internal_encoding|output_handler|decode_(numericentity|mimeheader)|\ndetect_(encoding|order)|parse_str|preferred_mime_name|encoding_aliases|encode_(numericentity|mimeheader)|\nereg(i(_replace)?)?|ereg_(search(_(get(pos|regs)|init|regs|(set)?pos))?|replace(_callback)?|match)|\nlist_encodings|language|regex_(set_options|encoding)|get_info\n)\\b", + "match": "(?xi)\\b\nmb_(\n str(cut|str|to(lower|upper)|istr|ipos|imwidth|pos|width|len|rchr|richr|ripos|rpos)|\n substitute_character|substr(_count)?|split|send_mail|http_(input|output)|check_encoding|\n convert_(case|encoding|kana|variables)|internal_encoding|output_handler|decode_(numericentity|mimeheader)|\n detect_(encoding|order)|parse_str|preferred_mime_name|encoding_aliases|encode_(numericentity|mimeheader)|\n ereg(i(_replace)?)?|ereg_(search(_(get(pos|regs)|init|regs|(set)?pos))?|replace(_callback)?|match)|\n list_encodings|language|regex_(set_options|encoding)|get_info\n)\\b", "name": "support.function.mbstring.php" }, { - "match": "(?xi)\\b\n(\nmcrypt_(\ncfb|create_iv|cbc|ofb|decrypt|encrypt|ecb|list_(algorithms|modes)|generic(_((de)?init|end))?|\nenc_(self_test|is_block_(algorithm|algorithm_mode|mode)|\nget_(supported_key_sizes|(block|iv|key)_size|(algorithms|modes)_name))|\nget_(cipher_name|(block|iv|key)_size)|\nmodule_(close|self_test|is_block_(algorithm|algorithm_mode|mode)|open|\nget_(supported_key_sizes|algo_(block|key)_size)))|\nmdecrypt_generic\n)\\b", + "match": "(?xi)\\b\n(\n mcrypt_(\n cfb|create_iv|cbc|ofb|decrypt|encrypt|ecb|list_(algorithms|modes)|generic(_((de)?init|end))?|\n enc_(self_test|is_block_(algorithm|algorithm_mode|mode)|\n get_(supported_key_sizes|(block|iv|key)_size|(algorithms|modes)_name))|\n get_(cipher_name|(block|iv|key)_size)|\n module_(close|self_test|is_block_(algorithm|algorithm_mode|mode)|open|\n get_(supported_key_sizes|algo_(block|key)_size)))|\n mdecrypt_generic\n)\\b", "name": "support.function.mcrypt.php" }, { @@ -3417,11 +3417,11 @@ "name": "support.function.mongo.php" }, { - "match": "(?xi)\\b\nmysql_(\nstat|set_charset|select_db|num_(fields|rows)|connect|client_encoding|close|create_db|escape_string|\nthread_id|tablename|insert_id|info|data_seek|drop_db|db_(name|query)|unbuffered_query|pconnect|ping|\nerrno|error|query|field_(seek|name|type|table|flags|len)|fetch_(object|field|lengths|assoc|array|row)|\nfree_result|list_(tables|dbs|processes|fields)|affected_rows|result|real_escape_string|\nget_(client|host|proto|server)_info\n)\\b", + "match": "(?xi)\\b\nmysql_(\n stat|set_charset|select_db|num_(fields|rows)|connect|client_encoding|close|create_db|escape_string|\n thread_id|tablename|insert_id|info|data_seek|drop_db|db_(name|query)|unbuffered_query|pconnect|ping|\n errno|error|query|field_(seek|name|type|table|flags|len)|fetch_(object|field|lengths|assoc|array|row)|\n free_result|list_(tables|dbs|processes|fields)|affected_rows|result|real_escape_string|\n get_(client|host|proto|server)_info\n)\\b", "name": "support.function.mysql.php" }, { - "match": "(?xi)\\b\nmysqli_(\nssl_set|store_result|stat|send_(query|long_data)|set_(charset|opt|local_infile_(default|handler))|\nstmt_(store_result|send_long_data|next_result|close|init|data_seek|prepare|execute|fetch|free_result|\nattr_(get|set)|result_metadata|reset|get_(result|warnings)|more_results|bind_(param|result))|\nselect_db|slave_query|savepoint|next_result|change_user|character_set_name|connect|commit|\nclient_encoding|close|thread_safe|init|options|(enable|disable)_(reads_from_master|rpl_parse)|\ndump_debug_info|debug|data_seek|use_result|ping|poll|param_count|prepare|escape_string|execute|\nembedded_server_(start|end)|kill|query|field_seek|free_result|autocommit|rollback|report|refresh|\nfetch(_(object|fields|field(_direct)?|assoc|all|array|row))?|rpl_(parse_enabled|probe|query_type)|\nrelease_savepoint|reap_async_query|real_(connect|escape_string|query)|more_results|multi_query|\nget_(charset|connection_stats|client_(stats|info|version)|cache_stats|warnings|links_stats|metadata)|\nmaster_query|bind_(param|result)|begin_transaction\n)\\b", + "match": "(?xi)\\b\nmysqli_(\n ssl_set|store_result|stat|send_(query|long_data)|set_(charset|opt|local_infile_(default|handler))|\n stmt_(store_result|send_long_data|next_result|close|init|data_seek|prepare|execute|fetch|free_result|\n attr_(get|set)|result_metadata|reset|get_(result|warnings)|more_results|bind_(param|result))|\n select_db|slave_query|savepoint|next_result|change_user|character_set_name|connect|commit|\n client_encoding|close|thread_safe|init|options|(enable|disable)_(reads_from_master|rpl_parse)|\n dump_debug_info|debug|data_seek|use_result|ping|poll|param_count|prepare|escape_string|execute|\n embedded_server_(start|end)|kill|query|field_seek|free_result|autocommit|rollback|report|refresh|\n fetch(_(object|fields|field(_direct)?|assoc|all|array|row))?|rpl_(parse_enabled|probe|query_type)|\n release_savepoint|reap_async_query|real_(connect|escape_string|query)|more_results|multi_query|\n get_(charset|connection_stats|client_(stats|info|version)|cache_stats|warnings|links_stats|metadata)|\n master_query|bind_(param|result)|begin_transaction\n)\\b", "name": "support.function.mysqli.php" }, { @@ -3441,7 +3441,7 @@ "name": "support.function.mysqlnd-uh.php" }, { - "match": "(?xi)\\b\n(\nsyslog|socket_(set_(blocking|timeout)|get_status)|set(raw)?cookie|http_response_code|openlog|\nheaders_(list|sent)|header(_(register_callback|remove))?|checkdnsrr|closelog|inet_(ntop|pton)|ip2long|\nopenlog|dns_(check_record|get_(record|mx))|define_syslog_variables|(p)?fsockopen|long2ip|\nget(servby(name|port)|host(name|by(name(l)?|addr))|protoby(name|number)|mxrr)\n)\\b", + "match": "(?xi)\\b\n(\n syslog|socket_(set_(blocking|timeout)|get_status)|set(raw)?cookie|http_response_code|openlog|\n headers_(list|sent)|header(_(register_callback|remove))?|checkdnsrr|closelog|inet_(ntop|pton)|ip2long|\n openlog|dns_(check_record|get_(record|mx))|define_syslog_variables|(p)?fsockopen|long2ip|\n get(servby(name|port)|host(name|by(name(l)?|addr))|protoby(name|number)|mxrr)\n)\\b", "name": "support.function.network.php" }, { @@ -3449,7 +3449,7 @@ "name": "support.function.nsapi.php" }, { - "match": "(?xi)\\b\n(\noci(statementtype|setprefetch|serverversion|savelob(file)?|numcols|new(collection|cursor|descriptor)|nlogon|\ncolumn(scale|size|name|type(raw)?|isnull|precision)|coll(size|trim|assign(elem)?|append|getelem|max)|commit|\ncloselob|cancel|internaldebug|definebyname|plogon|parse|error|execute|fetch(statement|into)?|\nfree(statement|collection|cursor|desc)|write(temporarylob|lobtofile)|loadlob|log(on|off)|rowcount|rollback|\nresult|bindbyname)|\noci_(statement_type|set_(client_(info|identifier)|prefetch|edition|action|module_name)|server_version|\nnum_(fields|rows)|new_(connect|collection|cursor|descriptor)|connect|commit|client_version|close|cancel|\ninternal_debug|define_by_name|pconnect|password_change|parse|error|execute|bind_(array_)?by_name|\nfield_(scale|size|name|type(_raw)?|is_null|precision)|fetch(_(object|assoc|all|array|row))?|\nfree_(statement|descriptor)|lob_(copy|is_equal)|rollback|result|get_implicit_resultset)\n)\\b", + "match": "(?xi)\\b\n(\n oci(statementtype|setprefetch|serverversion|savelob(file)?|numcols|new(collection|cursor|descriptor)|nlogon|\n column(scale|size|name|type(raw)?|isnull|precision)|coll(size|trim|assign(elem)?|append|getelem|max)|commit|\n closelob|cancel|internaldebug|definebyname|plogon|parse|error|execute|fetch(statement|into)?|\n free(statement|collection|cursor|desc)|write(temporarylob|lobtofile)|loadlob|log(on|off)|rowcount|rollback|\n result|bindbyname)|\n oci_(statement_type|set_(client_(info|identifier)|prefetch|edition|action|module_name)|server_version|\n num_(fields|rows)|new_(connect|collection|cursor|descriptor)|connect|commit|client_version|close|cancel|\n internal_debug|define_by_name|pconnect|password_change|parse|error|execute|bind_(array_)?by_name|\n field_(scale|size|name|type(_raw)?|is_null|precision)|fetch(_(object|assoc|all|array|row))?|\n free_(statement|descriptor)|lob_(copy|is_equal)|rollback|result|get_implicit_resultset)\n)\\b", "name": "support.function.oci8.php" }, { @@ -3457,11 +3457,11 @@ "name": "support.function.opcache.php" }, { - "match": "(?xi)\\b\nopenssl_(\nsign|spki_(new|export(_challenge)?|verify)|seal|csr_(sign|new|export(_to_file)?|get_(subject|public_key))|\ncipher_iv_length|open|dh_compute_key|digest|decrypt|public_(decrypt|encrypt)|encrypt|error_string|\npkcs12_(export(_to_file)?|read)|pkcs7_(sign|decrypt|encrypt|verify)|verify|free_key|random_pseudo_bytes|\npkey_(new|export(_to_file)?|free|get_(details|public|private))|private_(decrypt|encrypt)|pbkdf2|\nget_((cipher|md)_methods|cert_locations|(public|private)key)|\nx509_(check_private_key|checkpurpose|parse|export(_to_file)?|fingerprint|free|read)\n)\\b", + "match": "(?xi)\\b\nopenssl_(\n sign|spki_(new|export(_challenge)?|verify)|seal|csr_(sign|new|export(_to_file)?|get_(subject|public_key))|\n cipher_iv_length|open|dh_compute_key|digest|decrypt|public_(decrypt|encrypt)|encrypt|error_string|\n pkcs12_(export(_to_file)?|read)|pkcs7_(sign|decrypt|encrypt|verify)|verify|free_key|random_pseudo_bytes|\n pkey_(new|export(_to_file)?|free|get_(details|public|private))|private_(decrypt|encrypt)|pbkdf2|\n get_((cipher|md)_methods|cert_locations|(public|private)key)|\n x509_(check_private_key|checkpurpose|parse|export(_to_file)?|fingerprint|free|read)\n)\\b", "name": "support.function.openssl.php" }, { - "match": "(?xi)\\b\n(\noutput_(add_rewrite_var|reset_rewrite_vars)|flush|\nob_(start|clean|implicit_flush|end_(clean|flush)|flush|list_handlers|gzhandler|\nget_(status|contents|clean|flush|length|level))\n)\\b", + "match": "(?xi)\\b\n(\n output_(add_rewrite_var|reset_rewrite_vars)|flush|\n ob_(start|clean|implicit_flush|end_(clean|flush)|flush|list_handlers|gzhandler|\n get_(status|contents|clean|flush|length|level))\n)\\b", "name": "support.function.output.php" }, { @@ -3469,11 +3469,11 @@ "name": "support.function.password.php" }, { - "match": "(?xi)\\b\npcntl_(\nstrerror|signal(_dispatch)?|sig(timedwait|procmask|waitinfo)|setpriority|errno|exec|fork|\nw(stopsig|termsig|if(stopped|signaled|exited))|wait(pid)?|alarm|getpriority|get_last_error\n)\\b", + "match": "(?xi)\\b\npcntl_(\n strerror|signal(_dispatch)?|sig(timedwait|procmask|waitinfo)|setpriority|errno|exec|fork|\n w(stopsig|termsig|if(stopped|signaled|exited))|wait(pid)?|alarm|getpriority|get_last_error\n)\\b", "name": "support.function.pcntl.php" }, { - "match": "(?xi)\\b\npg_(\nsocket|send_(prepare|execute|query(_params)?)|set_(client_encoding|error_verbosity)|select|host|\nnum_(fields|rows)|consume_input|connection_(status|reset|busy)|connect(_poll)?|convert|copy_(from|to)|\nclient_encoding|close|cancel_query|tty|transaction_status|trace|insert|options|delete|dbname|untrace|\nunescape_bytea|update|pconnect|ping|port|put_line|parameter_status|prepare|version|query(_params)?|\nescape_(string|identifier|literal|bytea)|end_copy|execute|flush|free_result|last_(notice|error|oid)|\nfield_(size|num|name|type(_oid)?|table|is_null|prtlen)|affected_rows|result_(status|seek|error(_field)?)|\nfetch_(object|assoc|all(_columns)?|array|row|result)|get_(notify|pid|result)|meta_data|\nlo_(seek|close|create|tell|truncate|import|open|unlink|export|write|read(_all)?)|\n)\\b", + "match": "(?xi)\\b\npg_(\n socket|send_(prepare|execute|query(_params)?)|set_(client_encoding|error_verbosity)|select|host|\n num_(fields|rows)|consume_input|connection_(status|reset|busy)|connect(_poll)?|convert|copy_(from|to)|\n client_encoding|close|cancel_query|tty|transaction_status|trace|insert|options|delete|dbname|untrace|\n unescape_bytea|update|pconnect|ping|port|put_line|parameter_status|prepare|version|query(_params)?|\n escape_(string|identifier|literal|bytea)|end_copy|execute|flush|free_result|last_(notice|error|oid)|\n field_(size|num|name|type(_oid)?|table|is_null|prtlen)|affected_rows|result_(status|seek|error(_field)?)|\n fetch_(object|assoc|all(_columns)?|array|row|result)|get_(notify|pid|result)|meta_data|\n lo_(seek|close|create|tell|truncate|import|open|unlink|export|write|read(_all)?)|\n)\\b", "name": "support.function.pgsql.php" }, { @@ -3485,19 +3485,19 @@ "name": "support.function.php_dom.php" }, { - "match": "(?xi)\\b\nftp_(\nssl_connect|systype|site|size|set_option|nlist|nb_(continue|f?(put|get))|ch(dir|mod)|connect|cdup|close|\ndelete|put|pwd|pasv|exec|quit|f(put|get)|login|alloc|rename|raw(list)?|rmdir|get(_option)?|mdtm|mkdir\n)\\b", + "match": "(?xi)\\b\nftp_(\n ssl_connect|systype|site|size|set_option|nlist|nb_(continue|f?(put|get))|ch(dir|mod)|connect|cdup|close|\n delete|put|pwd|pasv|exec|quit|f(put|get)|login|alloc|rename|raw(list)?|rmdir|get(_option)?|mdtm|mkdir\n)\\b", "name": "support.function.php_ftp.php" }, { - "match": "(?xi)\\b\nimap_(\n(create|delete|list|rename|scan)(mailbox)?|status|sort|subscribe|set_quota|set(flag_full|acl)|search|savebody|\nnum_(recent|msg)|check|close|clearflag_full|thread|timeout|open|header(info)?|headers|append|alerts|reopen|\n8bit|unsubscribe|undelete|utf7_(decode|encode)|utf8|uid|ping|errors|expunge|qprint|gc|\nfetch(structure|header|text|mime|body)|fetch_overview|lsub|list(scan|subscribed)|last_error|\nrfc822_(parse_(headers|adrlist)|write_address)|get(subscribed|acl|mailboxes)|get_quota(root)?|\nmsgno|mime_header_decode|mail_(copy|compose|move)|mail|mailboxmsginfo|binary|body(struct)?|base64\n)\\b", + "match": "(?xi)\\b\nimap_(\n (create|delete|list|rename|scan)(mailbox)?|status|sort|subscribe|set_quota|set(flag_full|acl)|search|savebody|\n num_(recent|msg)|check|close|clearflag_full|thread|timeout|open|header(info)?|headers|append|alerts|reopen|\n 8bit|unsubscribe|undelete|utf7_(decode|encode)|utf8|uid|ping|errors|expunge|qprint|gc|\n fetch(structure|header|text|mime|body)|fetch_overview|lsub|list(scan|subscribed)|last_error|\n rfc822_(parse_(headers|adrlist)|write_address)|get(subscribed|acl|mailboxes)|get_quota(root)?|\n msgno|mime_header_decode|mail_(copy|compose|move)|mail|mailboxmsginfo|binary|body(struct)?|base64\n)\\b", "name": "support.function.php_imap.php" }, { - "match": "(?xi)\\b\nmssql_(\nselect_db|num_(fields|rows)|next_result|connect|close|init|data_seek|pconnect|execute|query|\nfield_(seek|name|type|length)|fetch_(object|field|assoc|array|row|batch)|free_(statement|result)|\nrows_affected|result|guid_string|get_last_message|min_(error|message)_severity|bind\n)\\b", + "match": "(?xi)\\b\nmssql_(\n select_db|num_(fields|rows)|next_result|connect|close|init|data_seek|pconnect|execute|query|\n field_(seek|name|type|length)|fetch_(object|field|assoc|array|row|batch)|free_(statement|result)|\n rows_affected|result|guid_string|get_last_message|min_(error|message)_severity|bind\n)\\b", "name": "support.function.php_mssql.php" }, { - "match": "(?xi)\\b\nodbc_(\nstatistics|specialcolumns|setoption|num_(fields|rows)|next_result|connect|columns|columnprivileges|commit|\ncursor|close(_all)?|tables|tableprivileges|do|data_source|pconnect|primarykeys|procedures|procedurecolumns|\nprepare|error(msg)?|exec(ute)?|field_(scale|num|name|type|precision|len)|foreignkeys|free_result|\nfetch_(into|object|array|row)|longreadlen|autocommit|rollback|result(_all)?|gettypeinfo|binmode\n)\\b", + "match": "(?xi)\\b\nodbc_(\n statistics|specialcolumns|setoption|num_(fields|rows)|next_result|connect|columns|columnprivileges|commit|\n cursor|close(_all)?|tables|tableprivileges|do|data_source|pconnect|primarykeys|procedures|procedurecolumns|\n prepare|error(msg)?|exec(ute)?|field_(scale|num|name|type|precision|len)|foreignkeys|free_result|\n fetch_(into|object|array|row)|longreadlen|autocommit|rollback|result(_all)?|gettypeinfo|binmode\n)\\b", "name": "support.function.php_odbc.php" }, { @@ -3513,7 +3513,7 @@ "name": "support.function.php_zip.php" }, { - "match": "(?xi)\\b\nposix_(\nstrerror|set(s|e?u|[ep]?g)id|ctermid|ttyname|times|isatty|initgroups|uname|errno|kill|access|\nget(sid|cwd|uid|pid|ppid|pwnam|pwuid|pgid|pgrp|euid|egid|login|rlimit|gid|grnam|groups|grgid)|\nget_last_error|mknod|mkfifo\n)\\b", + "match": "(?xi)\\b\nposix_(\n strerror|set(s|e?u|[ep]?g)id|ctermid|ttyname|times|isatty|initgroups|uname|errno|kill|access|\n get(sid|cwd|uid|pid|ppid|pwnam|pwuid|pgid|pgrp|euid|egid|login|rlimit|gid|grnam|groups|grgid)|\n get_last_error|mknod|mkfifo\n)\\b", "name": "support.function.posix.php" }, { @@ -3521,7 +3521,7 @@ "name": "support.function.proctitle.php" }, { - "match": "(?xi)\\b\npspell_(\nstore_replacement|suggest|save_wordlist|new(_(config|personal))?|check|clear_session|\nconfig_(save_repl|create|ignore|(data|dict)_dir|personal|runtogether|repl|mode)|add_to_(session|personal)\n)\\b", + "match": "(?xi)\\b\npspell_(\n store_replacement|suggest|save_wordlist|new(_(config|personal))?|check|clear_session|\n config_(save_repl|create|ignore|(data|dict)_dir|personal|runtogether|repl|mode)|add_to_(session|personal)\n)\\b", "name": "support.function.pspell.php" }, { @@ -3537,11 +3537,11 @@ "name": "support.function.rrd.php" }, { - "match": "(?xi)\\b\n(\nshm_((get|has|remove|put)_var|detach|attach|remove)|sem_(acquire|release|remove|get)|ftok|\nmsg_((get|remove|set|stat)_queue|send|queue_exists|receive)\n)\\b", + "match": "(?xi)\\b\n(\n shm_((get|has|remove|put)_var|detach|attach|remove)|sem_(acquire|release|remove|get)|ftok|\n msg_((get|remove|set|stat)_queue|send|queue_exists|receive)\n)\\b", "name": "support.function.sem.php" }, { - "match": "(?xi)\\b\nsession_(\nstatus|start|set_(save_handler|cookie_params)|save_path|name|commit|cache_(expire|limiter)|\nis_registered|id|destroy|decode|unset|unregister|encode|write_close|abort|reset|register(_shutdown)?|\nregenerate_id|get_cookie_params|module_name\n)\\b", + "match": "(?xi)\\b\nsession_(\n status|start|set_(save_handler|cookie_params)|save_path|name|commit|cache_(expire|limiter)|\n is_registered|id|destroy|decode|unset|unregister|encode|write_close|abort|reset|register(_shutdown)?|\n regenerate_id|get_cookie_params|module_name\n)\\b", "name": "support.function.session.php" }, { @@ -3553,7 +3553,7 @@ "name": "support.function.simplexml.php" }, { - "match": "(?xi)\\b\n(\nsnmp(walk(oid)?|realwalk|get(next)?|set)|\nsnmp_(set_(valueretrieval|quick_print|enum_print|oid_(numeric_print|output_format))|read_mib|\nget_(valueretrieval|quick_print))|\nsnmp[23]_(set|walk|real_walk|get(next)?)\n)\\b", + "match": "(?xi)\\b\n(\n snmp(walk(oid)?|realwalk|get(next)?|set)|\n snmp_(set_(valueretrieval|quick_print|enum_print|oid_(numeric_print|output_format))|read_mib|\n get_(valueretrieval|quick_print))|\n snmp[23]_(set|walk|real_walk|get(next)?)\n)\\b", "name": "support.function.snmp.php" }, { @@ -3561,31 +3561,31 @@ "name": "support.function.soap.php" }, { - "match": "(?xi)\\b\nsocket_(\nshutdown|strerror|send(to|msg)?|set_((non)?block|option)|select|connect|close|clear_error|bind|\ncreate(_(pair|listen))?|cmsg_space|import_stream|write|listen|last_error|accept|recv(from|msg)?|\nread|get(peer|sock)name|get_option\n)\\b", + "match": "(?xi)\\b\nsocket_(\n shutdown|strerror|send(to|msg)?|set_((non)?block|option)|select|connect|close|clear_error|bind|\n create(_(pair|listen))?|cmsg_space|import_stream|write|listen|last_error|accept|recv(from|msg)?|\n read|get(peer|sock)name|get_option\n)\\b", "name": "support.function.sockets.php" }, { - "match": "(?xi)\\b\nsqlite_(\nsingle_query|seek|has_(more|prev)|num_(fields|rows)|next|changes|column|current|close|\ncreate_(aggregate|function)|open|unbuffered_query|udf_(decode|encode)_binary|popen|prev|\nescape_string|error_string|exec|valid|key|query|field_name|factory|\nfetch_(string|single|column_types|object|all|array)|lib(encoding|version)|\nlast_(insert_rowid|error)|array_query|rewind|busy_timeout\n)\\b", + "match": "(?xi)\\b\nsqlite_(\n single_query|seek|has_(more|prev)|num_(fields|rows)|next|changes|column|current|close|\n create_(aggregate|function)|open|unbuffered_query|udf_(decode|encode)_binary|popen|prev|\n escape_string|error_string|exec|valid|key|query|field_name|factory|\n fetch_(string|single|column_types|object|all|array)|lib(encoding|version)|\n last_(insert_rowid|error)|array_query|rewind|busy_timeout\n)\\b", "name": "support.function.sqlite.php" }, { - "match": "(?xi)\\b\nsqlsrv_(\nsend_stream_data|server_info|has_rows|num_(fields|rows)|next_result|connect|configure|commit|\nclient_info|close|cancel|prepare|errors|execute|query|field_metadata|fetch(_(array|object))?|\nfree_stmt|rows_affected|rollback|get_(config|field)|begin_transaction\n)\\b", + "match": "(?xi)\\b\nsqlsrv_(\n send_stream_data|server_info|has_rows|num_(fields|rows)|next_result|connect|configure|commit|\n client_info|close|cancel|prepare|errors|execute|query|field_metadata|fetch(_(array|object))?|\n free_stmt|rows_affected|rollback|get_(config|field)|begin_transaction\n)\\b", "name": "support.function.sqlsrv.php" }, { - "match": "(?xi)\\b\nstats_(\nharmonic_mean|covariance|standard_deviation|skew|\ncdf_(noncentral_(chisquare|f)|negative_binomial|chisquare|cauchy|t|uniform|poisson|exponential|f|weibull|\nlogistic|laplace|gamma|binomial|beta)|\nstat_(noncentral_t|correlation|innerproduct|independent_t|powersum|percentile|paired_t|gennch|binomial_coef)|\ndens_(normal|negative_binomial|chisquare|cauchy|t|pmf_(hypergeometric|poisson|binomial)|exponential|f|\nweibull|logistic|laplace|gamma|beta)|\nden_uniform|variance|kurtosis|absolute_deviation|\nrand_(setall|phrase_to_seeds|ranf|get_seeds|\ngen_(noncentral_[ft]|noncenral_chisquare|normal|chisquare|t|int|\ni(uniform|poisson|binomial(_negative)?)|exponential|f(uniform)?|gamma|beta))\n)\\b", + "match": "(?xi)\\b\nstats_(\n harmonic_mean|covariance|standard_deviation|skew|\n cdf_(noncentral_(chisquare|f)|negative_binomial|chisquare|cauchy|t|uniform|poisson|exponential|f|weibull|\n logistic|laplace|gamma|binomial|beta)|\n stat_(noncentral_t|correlation|innerproduct|independent_t|powersum|percentile|paired_t|gennch|binomial_coef)|\n dens_(normal|negative_binomial|chisquare|cauchy|t|pmf_(hypergeometric|poisson|binomial)|exponential|f|\n weibull|logistic|laplace|gamma|beta)|\n den_uniform|variance|kurtosis|absolute_deviation|\n rand_(setall|phrase_to_seeds|ranf|get_seeds|\n gen_(noncentral_[ft]|noncenral_chisquare|normal|chisquare|t|int|\n i(uniform|poisson|binomial(_negative)?)|exponential|f(uniform)?|gamma|beta))\n)\\b", "name": "support.function.stats.php" }, { - "match": "(?xi)\\b\n(\nset_socket_blocking|\nstream_(socket_(shutdown|sendto|server|client|pair|enable_crypto|accept|recvfrom|get_name)|\nset_(chunk_size|timeout|(read|write)_buffer|blocking)|select|notification_callback|supports_lock|\ncontext_(set_(option|default|params)|create|get_(options|default|params))|copy_to_stream|is_local|\nencoding|filter_(append|prepend|register|remove)|wrapper_((un)?register|restore)|\nresolve_include_path|register_wrapper|get_(contents|transports|filters|wrappers|line|meta_data)|\nbucket_(new|prepend|append|make_writeable)\n)\n)\\b", + "match": "(?xi)\\b\n(\n set_socket_blocking|\n stream_(socket_(shutdown|sendto|server|client|pair|enable_crypto|accept|recvfrom|get_name)|\n set_(chunk_size|timeout|(read|write)_buffer|blocking)|select|notification_callback|supports_lock|\n context_(set_(option|default|params)|create|get_(options|default|params))|copy_to_stream|is_local|\n encoding|filter_(append|prepend|register|remove)|wrapper_((un)?register|restore)|\n resolve_include_path|register_wrapper|get_(contents|transports|filters|wrappers|line|meta_data)|\n bucket_(new|prepend|append|make_writeable)\n )\n)\\b", "name": "support.function.streamsfuncs.php" }, { - "match": "(?xi)\\b\n(\nmoney_format|md5(_file)?|metaphone|bin2hex|sscanf|sha1(_file)?|\nstr(str|c?spn|n(at)?(case)?cmp|chr|coll|(case)?cmp|to(upper|lower)|tok|tr|istr|pos|pbrk|len|rchr|ri?pos|rev)|\nstr_(getcsv|ireplace|pad|repeat|replace|rot13|shuffle|split|word_count)|\nstrip(c?slashes|os)|strip_tags|similar_text|soundex|substr(_(count|compare|replace))?|setlocale|\nhtml(specialchars(_decode)?|entities)|html_entity_decode|hex2bin|hebrev(c)?|number_format|nl2br|nl_langinfo|\nchop|chunk_split|chr|convert_(cyr_string|uu(decode|encode))|count_chars|crypt|crc32|trim|implode|ord|\nuc(first|words)|join|parse_str|print(f)?|echo|explode|v?[fs]?printf|quoted_printable_(decode|encode)|\nquotemeta|wordwrap|lcfirst|[lr]trim|localeconv|levenshtein|addc?slashes|get_html_translation_table\n)\\b", + "match": "(?xi)\\b\n(\n money_format|md5(_file)?|metaphone|bin2hex|sscanf|sha1(_file)?|\n str(str|c?spn|n(at)?(case)?cmp|chr|coll|(case)?cmp|to(upper|lower)|tok|tr|istr|pos|pbrk|len|rchr|ri?pos|rev)|\n str_(getcsv|ireplace|pad|repeat|replace|rot13|shuffle|split|word_count)|\n strip(c?slashes|os)|strip_tags|similar_text|soundex|substr(_(count|compare|replace))?|setlocale|\n html(specialchars(_decode)?|entities)|html_entity_decode|hex2bin|hebrev(c)?|number_format|nl2br|nl_langinfo|\n chop|chunk_split|chr|convert_(cyr_string|uu(decode|encode))|count_chars|crypt|crc32|trim|implode|ord|\n uc(first|words)|join|parse_str|print(f)?|echo|explode|v?[fs]?printf|quoted_printable_(decode|encode)|\n quotemeta|wordwrap|lcfirst|[lr]trim|localeconv|levenshtein|addc?slashes|get_html_translation_table\n)\\b", "name": "support.function.string.php" }, { - "match": "(?xi)\\b\nsybase_(\nset_message_handler|select_db|num_(fields|rows)|connect|close|deadlock_retry_count|data_seek|\nunbuffered_query|pconnect|query|field_seek|fetch_(object|field|assoc|array|row)|free_result|\naffected_rows|result|get_last_message|min_(client|error|message|server)_severity\n)\\b", + "match": "(?xi)\\b\nsybase_(\n set_message_handler|select_db|num_(fields|rows)|connect|close|deadlock_retry_count|data_seek|\n unbuffered_query|pconnect|query|field_seek|fetch_(object|field|assoc|array|row)|free_result|\n affected_rows|result|get_last_message|min_(client|error|message|server)_severity\n)\\b", "name": "support.function.sybase.php" }, { @@ -3593,7 +3593,7 @@ "name": "support.function.taint.php" }, { - "match": "(?xi)\\b\n(\ntidy_((get|set)opt|set_encoding|save_config|config_count|clean_repair|is_(xhtml|xml)|diagnose|\n(access|error|warning)_count|load_config|reset_config|(parse|repair)_(string|file)|\nget_(status|html(_ver)?|head|config|output|opt_doc|root|release|body))|\nob_tidyhandler\n)\\b", + "match": "(?xi)\\b\n(\n tidy_((get|set)opt|set_encoding|save_config|config_count|clean_repair|is_(xhtml|xml)|diagnose|\n (access|error|warning)_count|load_config|reset_config|(parse|repair)_(string|file)|\n get_(status|html(_ver)?|head|config|output|opt_doc|root|release|body))|\n ob_tidyhandler\n)\\b", "name": "support.function.tidy.php" }, { @@ -3601,7 +3601,7 @@ "name": "support.function.tokenizer.php" }, { - "match": "(?xi)\\b\ntrader_(\nstoch(f|r|rsi)?|stddev|sin(h)?|sum|sub|set_(compat|unstable_period)|sqrt|sar(ext)?|sma|\nht_(sine|trend(line|mode)|dc(period|phase)|phasor)|natr|cci|cos(h)?|correl|\ncdl(shootingstar|shortline|sticksandwich|stalledpattern|spinningtop|separatinglines|\nhikkake(mod)?|highwave|homingpigeon|hangingman|harami(cross)?|hammer|concealbabyswall|\ncounterattack|closingmarubozu|thrusting|tasukigap|takuri|tristar|inneck|invertedhammer|\nidentical3crows|2crows|onneck|doji(star)?|darkcloudcover|dragonflydoji|unique3river|\nupsidegap2crows|3(starsinsouth|inside|outside|whitesoldiers|linestrike|blackcrows)|\npiercing|engulfing|evening(doji)?star|kicking(bylength)?|longline|longleggeddoji|\nladderbottom|advanceblock|abandonedbaby|risefall3methods|rickshawman|gapsidesidewhite|\ngravestonedoji|xsidegap3methods|morning(doji)?star|mathold|matchinglow|marubozu|\nbelthold|breakaway)|\nceil|cmo|tsf|typprice|t3|tema|tan(h)?|trix|trima|trange|obv|div|dema|dx|ultosc|ppo|\nplus_d[im]|errno|exp|ema|var|kama|floor|wclprice|willr|wma|ln|log10|bop|beta|bbands|\nlinearreg(_(slope|intercept|angle))?|asin|acos|atan|atr|adosc|ad|add|adx(r)?|apo|avgprice|\naroon(osc)?|rsi|roc|rocp|rocr(100)?|get_(compat|unstable_period)|min(index)?|minus_d[im]|\nminmax(index)?|mid(point|price)|mom|mult|medprice|mfi|macd(ext|fix)?|mavp|max(index)?|ma(ma)?\n)\\b", + "match": "(?xi)\\b\ntrader_(\n stoch(f|r|rsi)?|stddev|sin(h)?|sum|sub|set_(compat|unstable_period)|sqrt|sar(ext)?|sma|\n ht_(sine|trend(line|mode)|dc(period|phase)|phasor)|natr|cci|cos(h)?|correl|\n cdl(shootingstar|shortline|sticksandwich|stalledpattern|spinningtop|separatinglines|\n hikkake(mod)?|highwave|homingpigeon|hangingman|harami(cross)?|hammer|concealbabyswall|\n counterattack|closingmarubozu|thrusting|tasukigap|takuri|tristar|inneck|invertedhammer|\n identical3crows|2crows|onneck|doji(star)?|darkcloudcover|dragonflydoji|unique3river|\n upsidegap2crows|3(starsinsouth|inside|outside|whitesoldiers|linestrike|blackcrows)|\n piercing|engulfing|evening(doji)?star|kicking(bylength)?|longline|longleggeddoji|\n ladderbottom|advanceblock|abandonedbaby|risefall3methods|rickshawman|gapsidesidewhite|\n gravestonedoji|xsidegap3methods|morning(doji)?star|mathold|matchinglow|marubozu|\n belthold|breakaway)|\n ceil|cmo|tsf|typprice|t3|tema|tan(h)?|trix|trima|trange|obv|div|dema|dx|ultosc|ppo|\n plus_d[im]|errno|exp|ema|var|kama|floor|wclprice|willr|wma|ln|log10|bop|beta|bbands|\n linearreg(_(slope|intercept|angle))?|asin|acos|atan|atr|adosc|ad|add|adx(r)?|apo|avgprice|\n aroon(osc)?|rsi|roc|rocp|rocr(100)?|get_(compat|unstable_period)|min(index)?|minus_d[im]|\n minmax(index)?|mid(point|price)|mom|mult|medprice|mfi|macd(ext|fix)?|mavp|max(index)?|ma(ma)?\n)\\b", "name": "support.function.trader.php" }, { @@ -3613,7 +3613,7 @@ "name": "support.function.url.php" }, { - "match": "(?xi)\\b\n(\nstrval|settype|serialize|(bool|double|float)val|debug_zval_dump|intval|import_request_variables|isset|\nis_(scalar|string|null|numeric|callable|int(eger)?|object|double|float|long|array|resource|real|bool)|\nunset|unserialize|print_r|empty|var_(dump|export)|gettype|get_(defined_vars|resource_type)\n)\\b", + "match": "(?xi)\\b\n(\n strval|settype|serialize|(bool|double|float)val|debug_zval_dump|intval|import_request_variables|isset|\n is_(scalar|string|null|numeric|callable|int(eger)?|object|double|float|long|array|resource|real|bool)|\n unset|unserialize|print_r|empty|var_(dump|export)|gettype|get_(defined_vars|resource_type)\n)\\b", "name": "support.function.var.php" }, { @@ -3625,19 +3625,19 @@ "name": "support.function.xhprof.php" }, { - "match": "(?xi)\n\\b\n(\nutf8_(decode|encode)|\nxml_(set_((notation|(end|start)_namespace|unparsed_entity)_decl_handler|\n(character_data|default|element|external_entity_ref|processing_instruction)_handler|object)|\nparse(_into_struct)?|parser_((get|set)_option|create(_ns)?|free)|error_string|\nget_(current_((column|line)_number|byte_index)|error_code))\n)\\b", + "match": "(?xi)\n\\b\n(\n utf8_(decode|encode)|\n xml_(set_((notation|(end|start)_namespace|unparsed_entity)_decl_handler|\n (character_data|default|element|external_entity_ref|processing_instruction)_handler|object)|\n parse(_into_struct)?|parser_((get|set)_option|create(_ns)?|free)|error_string|\n get_(current_((column|line)_number|byte_index)|error_code))\n)\\b", "name": "support.function.xml.php" }, { - "match": "(?xi)\\b\nxmlrpc_(\nserver_(call_method|create|destroy|add_introspection_data|register_(introspection_callback|method))|\nis_fault|decode(_request)?|parse_method_descriptions|encode(_request)?|(get|set)_type\n)\\b", + "match": "(?xi)\\b\nxmlrpc_(\n server_(call_method|create|destroy|add_introspection_data|register_(introspection_callback|method))|\n is_fault|decode(_request)?|parse_method_descriptions|encode(_request)?|(get|set)_type\n)\\b", "name": "support.function.xmlrpc.php" }, { - "match": "(?xi)\\b\nxmlwriter_(\n(end|start|write)_(comment|cdata|dtd(_(attlist|entity|element))?|document|pi|attribute|element)|\n(start|write)_(attribute|element)_ns|write_raw|set_indent(_string)?|text|output_memory|open_(memory|uri)|\nfull_end_element|flush|\n)\\b", + "match": "(?xi)\\b\nxmlwriter_(\n (end|start|write)_(comment|cdata|dtd(_(attlist|entity|element))?|document|pi|attribute|element)|\n (start|write)_(attribute|element)_ns|write_raw|set_indent(_string)?|text|output_memory|open_(memory|uri)|\n full_end_element|flush|\n)\\b", "name": "support.function.xmlwriter.php" }, { - "match": "(?xi)\\b\n(\nzlib_(decode|encode|get_coding_type)|readgzfile|\ngz(seek|compress|close|tell|inflate|open|decode|deflate|uncompress|puts|passthru|encode|eof|file|\nwrite|rewind|read|getc|getss?)\n)\\b", + "match": "(?xi)\\b\n(\n zlib_(decode|encode|get_coding_type)|readgzfile|\n gz(seek|compress|close|tell|inflate|open|decode|deflate|uncompress|puts|passthru|encode|eof|file|\n write|rewind|read|getc|getss?)\n)\\b", "name": "support.function.zlib.php" }, { @@ -3812,7 +3812,7 @@ "name": "punctuation.definition.variable.php" } }, - "match": "(?xi)\n((\\$)(?[a-z_\\x{7f}-\\x{ff}][a-z0-9_\\x{7f}-\\x{ff}]*))\n(?:\n(->)(\\g)\n|\n(\\[)(?:(\\d+)|((\\$)\\g)|([a-z_\\x{7f}-\\x{ff}][a-z0-9_\\x{7f}-\\x{ff}]*))(\\])\n)?" + "match": "(?xi)\n((\\$)(?[a-z_\\x{7f}-\\x{ff}][a-z0-9_\\x{7f}-\\x{ff}]*))\n(?:\n (->)(\\g)\n |\n (\\[)(?:(\\d+)|((\\$)\\g)|([a-z_\\x{7f}-\\x{ff}][a-z0-9_\\x{7f}-\\x{ff}]*))(\\])\n)?" }, { "captures": { diff --git a/packages/tm-grammars/grammars/c.json b/packages/tm-grammars/grammars/c.json index 27136cb..1a02bb1 100644 --- a/packages/tm-grammars/grammars/c.json +++ b/packages/tm-grammars/grammars/c.json @@ -3337,7 +3337,7 @@ "string_placeholder": { "patterns": [ { - "match": "%(\\d+\\$)?[#0\\-\\s+']*[,;:_]?((-?\\d+)|\\*(-?\\d+\\$)?)?(\\.((-?\\d+)|\\*(-?\\d+\\$)?)?)?(hh|h|ll|l|j|t|z|q|L|vh|vl|v|hv|hl)?[diouxXDOUeEfFgGaACcSspn%]", + "match": "%(\\d+\\$)?[#0\\- +']*[,;:_]?((-?\\d+)|\\*(-?\\d+\\$)?)?(\\.((-?\\d+)|\\*(-?\\d+\\$)?)?)?(hh|h|ll|l|j|t|z|q|L|vh|vl|v|hv|hl)?[diouxXDOUeEfFgGaACcSspn%]", "name": "constant.other.placeholder.c" }, { diff --git a/packages/tm-grammars/grammars/codeql.json b/packages/tm-grammars/grammars/codeql.json index 20e2eb1..9379c24 100644 --- a/packages/tm-grammars/grammars/codeql.json +++ b/packages/tm-grammars/grammars/codeql.json @@ -129,7 +129,7 @@ ] } }, - "end": "(?!(?:\\s|$|(?://|/\\*))|\\[\\s)\\s|\\s(?<=\\])", + "end": "(?!(?:\\s|$|(?://|/\\*))|\\[)|(?<=\\])", "name": "meta.block.bindingset-annotation.ql", "patterns": [ { @@ -792,7 +792,7 @@ ] } }, - "end": "(?!(?:\\s|$|(?://|/\\*))|\\[\\s)\\s|\\s(?<=\\])", + "end": "(?!(?:\\s|$|(?://|/\\*))|\\[)|(?<=\\])", "name": "meta.block.language-annotation.ql", "patterns": [ { @@ -1146,7 +1146,7 @@ ] } }, - "end": "(?!(?:\\s|$|(?://|/\\*))|\\[\\s)\\s|\\s(?<=\\])", + "end": "(?!(?:\\s|$|(?://|/\\*))|\\[)|(?<=\\])", "name": "meta.block.pragma-annotation.ql", "patterns": [ { diff --git a/packages/tm-grammars/grammars/common-lisp.json b/packages/tm-grammars/grammars/common-lisp.json index 7ade977..f022ba7 100644 --- a/packages/tm-grammars/grammars/common-lisp.json +++ b/packages/tm-grammars/grammars/common-lisp.json @@ -84,7 +84,7 @@ ] }, "class": { - "match": "(?xi)\n(?<=^|\\s|\\()\n(?:two-way-stream|synonym-stream|symbol|structure-object|structure-class|string-stream|stream|standard-object|standard-method|\nstandard-generic-function|standard-class|sequence|restart|real|readtable|ratio|random-state|package|number|method|integer|hash-table|\ngeneric-function|file-stream|echo-stream|concatenated-stream|class|built-in-class|broadcast-stream|bit-vector|array)\n(?=(\\s|\\(|\\)))", + "match": "(?xi)\n(?<=^|\\s|\\() # preceded by space or (\n(?:two-way-stream|synonym-stream|symbol|structure-object|structure-class|string-stream|stream|standard-object|standard-method|\nstandard-generic-function|standard-class|sequence|restart|real|readtable|ratio|random-state|package|number|method|integer|hash-table|\ngeneric-function|file-stream|echo-stream|concatenated-stream|class|built-in-class|broadcast-stream|bit-vector|array)\n(?=(\\s|\\(|\\))) # followed by space, ( or )", "name": "support.class.commonlisp" }, "comment": { @@ -109,13 +109,13 @@ ] }, "condition-type": { - "match": "(?xi)\n(?<=^|\\s|\\()\n(?:warning|undefined-function|unbound-variable|unbound-slot|type-error|style-warning|stream-error|storage-condition|simple-warning|\nsimple-type-error|simple-error|simple-condition|serious-condition|reader-error|program-error|print-not-readable|parse-error|package-error|\nfloating-point-underflow|floating-point-overflow|floating-point-invalid-operation|floating-point-inexact|file-error|error|end-of-file|\ndivision-by-zero|control-error|condition|cell-error|arithmetic-error)\n(?=(\\s|\\(|\\)))", + "match": "(?xi)\n(?<=^|\\s|\\() # preceded by space or (\n(?:warning|undefined-function|unbound-variable|unbound-slot|type-error|style-warning|stream-error|storage-condition|simple-warning|\nsimple-type-error|simple-error|simple-condition|serious-condition|reader-error|program-error|print-not-readable|parse-error|package-error|\nfloating-point-underflow|floating-point-overflow|floating-point-invalid-operation|floating-point-inexact|file-error|error|end-of-file|\ndivision-by-zero|control-error|condition|cell-error|arithmetic-error)\n(?=(\\s|\\(|\\))) # followed by space, ( or )", "name": "support.type.exception.commonlisp" }, "constant": { "patterns": [ { - "match": "(?xi)\n(?<=^|\\s|\\(|,@|,\\.|,)\n(?:t|single-float-negative-epsilon|single-float-epsilon|short-float-negative-epsilon|short-float-epsilon|pi|\nnil|multiple-values-limit|most-positive-single-float|most-positive-short-float|most-positive-long-float|\nmost-positive-fixnum|most-positive-double-float|most-negative-single-float|most-negative-short-float|\nmost-negative-long-float|most-negative-fixnum|most-negative-double-float|long-float-negative-epsilon|\nlong-float-epsilon|least-positive-single-float|least-positive-short-float|least-positive-normalized-single-float|\nleast-positive-normalized-short-float|least-positive-normalized-long-float|least-positive-normalized-double-float|\nleast-positive-long-float|least-positive-double-float|least-negative-single-float|least-negative-short-float|\nleast-negative-normalized-single-float|least-negative-normalized-short-float|least-negative-normalized-long-float|\nleast-negative-normalized-double-float|least-negative-long-float|least-negative-double-float|lambda-parameters-limit|\nlambda-list-keywords|internal-time-units-per-second|double-float-negative-epsilon|double-float-epsilon|char-code-limit|\ncall-arguments-limit|boole-xor|boole-set|boole-orc2|boole-orc1|boole-nor|boole-nand|boole-ior|boole-eqv|boole-clr|\nboole-c2|boole-c1|boole-andc2|boole-andc1|boole-and|boole-2|boole-1|array-total-size-limit|array-rank-limit|array-dimension-limit)\n(?=(\\s|\\(|\\)))", + "match": "(?xi)\n(?<=^|\\s|\\(|,@|,\\.|,) # preceded by space , ( or `,`|`,@`|`,.`\n(?:t|single-float-negative-epsilon|single-float-epsilon|short-float-negative-epsilon|short-float-epsilon|pi|\nnil|multiple-values-limit|most-positive-single-float|most-positive-short-float|most-positive-long-float|\nmost-positive-fixnum|most-positive-double-float|most-negative-single-float|most-negative-short-float|\nmost-negative-long-float|most-negative-fixnum|most-negative-double-float|long-float-negative-epsilon|\nlong-float-epsilon|least-positive-single-float|least-positive-short-float|least-positive-normalized-single-float|\nleast-positive-normalized-short-float|least-positive-normalized-long-float|least-positive-normalized-double-float|\nleast-positive-long-float|least-positive-double-float|least-negative-single-float|least-negative-short-float|\nleast-negative-normalized-single-float|least-negative-normalized-short-float|least-negative-normalized-long-float|\nleast-negative-normalized-double-float|least-negative-long-float|least-negative-double-float|lambda-parameters-limit|\nlambda-list-keywords|internal-time-units-per-second|double-float-negative-epsilon|double-float-epsilon|char-code-limit|\ncall-arguments-limit|boole-xor|boole-set|boole-orc2|boole-orc1|boole-nor|boole-nand|boole-ior|boole-eqv|boole-clr|\nboole-c2|boole-c1|boole-andc2|boole-andc1|boole-and|boole-2|boole-1|array-total-size-limit|array-rank-limit|array-dimension-limit)\n(?=(\\s|\\(|\\))) # followed by space, ( or )", "name": "constant.language.commonlisp" }, { @@ -123,7 +123,7 @@ "name": "constant.numeric.commonlisp" }, { - "match": "(?xi)\n(?<=\\s)\n(\\.)\n(?=\\s)", + "match": "(?xi)\n(?<=\\s) # preceded by space\n(\\.)\n(?=\\s)", "name": "variable.other.constant.dot.commonlisp" }, { @@ -133,7 +133,7 @@ ] }, "declaration": { - "match": "(?xi)\n(?<=^|\\s|\\()\n(?:type|speed|special|space|safety|optimize|notinline|inline|ignore|ignorable|ftype|dynamic-extent|declaration|debug|compilation-speed)\n(?=(\\s|\\(|\\)))", + "match": "(?xi)\n(?<=^|\\s|\\() # preceded by space or (\n(?:type|speed|special|space|safety|optimize|notinline|inline|ignore|ignorable|ftype|dynamic-extent|declaration|debug|compilation-speed)\n(?=(\\s|\\(|\\))) # followed by space, ( or )", "name": "storage.type.function.declaration.commonlisp" }, "def-name": { @@ -175,7 +175,7 @@ ] } }, - "match": "(?xi)\n(?<=^|\\s|\\()\n(defun|defsetf|defmethod|defmacro|define-symbol-macro|define-setf-expander|\ndefine-modify-macro|define-method-combination|define-compiler-macro|defgeneric)\n\\s+\n( \\(\\s*\n([#:A-Za-z0-9\\+\\-\\*\\/\\@\\$\\%\\^\\&\\_\\=\\<\\>\\~\\!\\?\\[\\]\\{\\}\\.]+)\n\\s*\n((,@|,\\.|,)?)\n([#:A-Za-z0-9\\+\\-\\*\\/\\@\\$\\%\\^\\&\\_\\=\\<\\>\\~\\!\\?\\[\\]\\{\\}\\.]+?)\n|\n((,@|,\\.|,)?)\n([#:A-Za-z0-9\\+\\-\\*\\/\\@\\$\\%\\^\\&\\_\\=\\<\\>\\~\\!\\?\\[\\]\\{\\}\\.]+?)\n)\n(?=(\\s|\\(|\\)))" + "match": "(?xi)\n(?<=^|\\s|\\() # preceded by (\n(defun|defsetf|defmethod|defmacro|define-symbol-macro|define-setf-expander|\ndefine-modify-macro|define-method-combination|define-compiler-macro|defgeneric) #1 keywords\n\\s+\n( \\(\\s*\n ([#:A-Za-z0-9\\+\\-\\*\\/\\@\\$\\%\\^\\&\\_\\=\\<\\>\\~\\!\\?\\[\\]\\{\\}\\.]+) #3\n \\s*\n ((,@|,\\.|,)?) #4\n ([#:A-Za-z0-9\\+\\-\\*\\/\\@\\$\\%\\^\\&\\_\\=\\<\\>\\~\\!\\?\\[\\]\\{\\}\\.]+?) #6 (<3>something+ <6>name)\n |\n ((,@|,\\.|,)?) #7\n ([#:A-Za-z0-9\\+\\-\\*\\/\\@\\$\\%\\^\\&\\_\\=\\<\\>\\~\\!\\?\\[\\]\\{\\}\\.]+?) #9 name\n) #2\n(?=(\\s|\\(|\\)))" }, { "captures": { @@ -186,7 +186,7 @@ "name": "entity.name.type.commonlisp" } }, - "match": "(?xi)\n(?<=^|\\s|\\()\n(deftype|defpackage|define-condition|defclass)\n\\s+\n([#:A-Za-z0-9\\+\\-\\*\\/\\@\\$\\%\\^\\&\\_\\=\\<\\>\\~\\!\\?\\[\\]\\{\\}\\.]+?)\n(?=(\\s|\\(|\\)))" + "match": "(?xi)\n(?<=^|\\s|\\()\n(deftype|defpackage|define-condition|defclass) # keywords\n\\s+\n([#:A-Za-z0-9\\+\\-\\*\\/\\@\\$\\%\\^\\&\\_\\=\\<\\>\\~\\!\\?\\[\\]\\{\\}\\.]+?) # name\n(?=(\\s|\\(|\\)))" }, { "captures": { @@ -205,7 +205,7 @@ ] } }, - "match": "(?xi)\n(?<=^|\\s|\\()\n(defconstant)\n\\s+\n([#:A-Za-z0-9\\+\\-\\*\\/\\@\\$\\%\\^\\&\\_\\=\\<\\>\\~\\!\\?\\[\\]\\{\\}\\.]+?)\n(?=(\\s|\\(|\\)))" + "match": "(?xi)\n(?<=^|\\s|\\()\n(defconstant) # keywords\n\\s+\n([#:A-Za-z0-9\\+\\-\\*\\/\\@\\$\\%\\^\\&\\_\\=\\<\\>\\~\\!\\?\\[\\]\\{\\}\\.]+?) # name\n(?=(\\s|\\(|\\)))" }, { "captures": { @@ -213,7 +213,7 @@ "name": "storage.type.function.defname.commonlisp" } }, - "match": "(?xi)\n(?<=^|\\s|\\()\n(defvar|defparameter)\n\\s+\n(?=(\\s|\\(|\\)))" + "match": "(?xi)\n(?<=^|\\s|\\()\n(defvar|defparameter) # keywords\n\\s+\n(?=(\\s|\\(|\\)))" }, { "captures": { @@ -224,7 +224,7 @@ "name": "entity.name.type.commonlisp" } }, - "match": "(?xi)\n(?<=^|\\s|\\()\n(defstruct)\n\\s+\\(?\\s*\n([#:A-Za-z0-9\\+\\-\\*\\/\\@\\$\\%\\^\\&\\_\\=\\<\\>\\~\\!\\?\\[\\]\\{\\}\\.]+?)\n(?=(\\s|\\(|\\)))" + "match": "(?xi)\n(?<=^|\\s|\\()\n(defstruct) # keywords\n\\s+\\(?\\s*\n([#:A-Za-z0-9\\+\\-\\*\\/\\@\\$\\%\\^\\&\\_\\=\\<\\>\\~\\!\\?\\[\\]\\{\\}\\.]+?) # name\n(?=(\\s|\\(|\\)))" }, { "captures": { @@ -243,58 +243,58 @@ ] } }, - "match": "(?xi)\n(?<=^|\\s|\\()\n(macrolet|labels|flet)\n\\s+\\(\\s*\\(\\s*\n([#:A-Za-z0-9\\+\\-\\*\\/\\@\\$\\%\\^\\&\\_\\=\\<\\>\\~\\!\\?\\[\\]\\{\\}\\.]+?)\n(?=(\\s|\\(|\\)))" + "match": "(?xi)\n(?<=^|\\s|\\()\n(macrolet|labels|flet) # keywords\n\\s+\\(\\s*\\(\\s*\n([#:A-Za-z0-9\\+\\-\\*\\/\\@\\$\\%\\^\\&\\_\\=\\<\\>\\~\\!\\?\\[\\]\\{\\}\\.]+?) # name\n(?=(\\s|\\(|\\)))" } ] }, "escape": { - "match": "(?xi)\n(?<=^|\\s|\\()\n(?:\\#\\\\\\S+?)\n(?=(\\s|\\(|\\)))", + "match": "(?xi)\n(?<=^|\\s|\\() # preceded by space or (\n(?:\\#\\\\\\S+?)\n(?=(\\s|\\(|\\))) # followed by space, ( or )", "name": "constant.character.escape.commonlisp" }, "function": { "patterns": [ { - "match": "(?xi)\n(?<=^|\\s|\\(|\\#')\n(?:values|third|tenth|symbol-value|symbol-plist|symbol-function|svref|subseq|sixth|seventh|second|schar|sbit|row-major-aref|\nrest|readtable-case|nth|ninth|mask-field|macro-function|logical-pathname-translations|ldb|gethash|getf|get|fourth|first|\nfind-class|fill-pointer|fifth|fdefinition|elt|eighth|compiler-macro-function|char|cdr|cddr|cdddr|cddddr|cdddar|cddar|cddadr|\ncddaar|cdar|cdadr|cdaddr|cdadar|cdaar|cdaadr|cdaaar|car|cadr|caddr|cadddr|caddar|cadar|cadadr|cadaar|caar|caadr|caaddr|caadar|\ncaaar|caaadr|caaaar|bit|aref)\n(?=(\\s|\\(|\\)))", + "match": "(?xi)\n(?<=^|\\s|\\(|\\#') # preceded by space or (\n(?:values|third|tenth|symbol-value|symbol-plist|symbol-function|svref|subseq|sixth|seventh|second|schar|sbit|row-major-aref|\n rest|readtable-case|nth|ninth|mask-field|macro-function|logical-pathname-translations|ldb|gethash|getf|get|fourth|first|\n find-class|fill-pointer|fifth|fdefinition|elt|eighth|compiler-macro-function|char|cdr|cddr|cdddr|cddddr|cdddar|cddar|cddadr|\n cddaar|cdar|cdadr|cdaddr|cdadar|cdaar|cdaadr|cdaaar|car|cadr|caddr|cadddr|caddar|cadar|cadadr|cadaar|caar|caadr|caaddr|caadar|\n caaar|caaadr|caaaar|bit|aref)\n(?=(\\s|\\(|\\))) # followed by space, ( or )", "name": "support.function.accessor.commonlisp" }, { - "match": "(?xi)\n(?<=^|\\s|\\(|\\#')\n(?:yes-or-no-p|y-or-n-p|write-sequence|write-char|write-byte|warn|vector-pop|use-value|use-package|unuse-package|union|unintern|\nunexport|terpri|tailp|substitute-if-not|substitute-if|substitute|subst-if-not|subst-if|subst|sublis|string-upcase|string-downcase|\nstring-capitalize|store-value|sleep|signal|shadowing-import|shadow|set-syntax-from-char|set-macro-character|set-exclusive-or|\nset-dispatch-macro-character|set-difference|set|rplacd|rplaca|room|reverse|revappend|require|replace|remprop|remove-if-not|remove-if|\nremove-duplicates|remove|remhash|read-sequence|read-byte|random|provide|pprint-tabular|pprint-newline|pprint-linear|pprint-fill|\nnunion|nsubstitute-if-not|nsubstitute-if|nsubstitute|nsubst-if-not|nsubst-if|nsubst|nsublis|nstring-upcase|nstring-downcase|nstring-capitalize|\nnset-exclusive-or|nset-difference|nreverse|nreconc|nintersection|nconc|muffle-warning|method-combination-error|maphash|makunbound|ldiff|\ninvoke-restart-interactively|invoke-restart|invoke-debugger|invalid-method-error|intersection|inspect|import|get-output-stream-string|\nget-macro-character|get-dispatch-macro-character|gentemp|gensym|fresh-line|fill|file-position|export|describe|delete-if-not|delete-if|\ndelete-duplicates|delete|continue|clrhash|close|clear-input|break|abort)\n(?=(\\s|\\(|\\)))", + "match": "(?xi)\n(?<=^|\\s|\\(|\\#') # preceded by space or (\n(?:yes-or-no-p|y-or-n-p|write-sequence|write-char|write-byte|warn|vector-pop|use-value|use-package|unuse-package|union|unintern|\nunexport|terpri|tailp|substitute-if-not|substitute-if|substitute|subst-if-not|subst-if|subst|sublis|string-upcase|string-downcase|\nstring-capitalize|store-value|sleep|signal|shadowing-import|shadow|set-syntax-from-char|set-macro-character|set-exclusive-or|\nset-dispatch-macro-character|set-difference|set|rplacd|rplaca|room|reverse|revappend|require|replace|remprop|remove-if-not|remove-if|\nremove-duplicates|remove|remhash|read-sequence|read-byte|random|provide|pprint-tabular|pprint-newline|pprint-linear|pprint-fill|\nnunion|nsubstitute-if-not|nsubstitute-if|nsubstitute|nsubst-if-not|nsubst-if|nsubst|nsublis|nstring-upcase|nstring-downcase|nstring-capitalize|\nnset-exclusive-or|nset-difference|nreverse|nreconc|nintersection|nconc|muffle-warning|method-combination-error|maphash|makunbound|ldiff|\ninvoke-restart-interactively|invoke-restart|invoke-debugger|invalid-method-error|intersection|inspect|import|get-output-stream-string|\nget-macro-character|get-dispatch-macro-character|gentemp|gensym|fresh-line|fill|file-position|export|describe|delete-if-not|delete-if|\ndelete-duplicates|delete|continue|clrhash|close|clear-input|break|abort)\n(?=(\\s|\\(|\\))) # followed by space, ( or )", "name": "support.function.f.sideeffects.commonlisp" }, { - "match": "(?xi)\n(?<=^|\\s|\\(|\\#')\n(?:zerop|write-to-string|write-string|write-line|write|wild-pathname-p|vectorp|vector-push-extend|vector-push|vector|values-list|\nuser-homedir-pathname|upper-case-p|upgraded-complex-part-type|upgraded-array-element-type|unread-char|unbound-slot-instance|typep|type-of|\ntype-error-expected-type|type-error-datum|two-way-stream-output-stream|two-way-stream-input-stream|truncate|truename|tree-equal|translate-pathname|\ntranslate-logical-pathname|tanh|tan|synonym-stream-symbol|symbolp|symbol-package|symbol-name|sxhash|subtypep|subsetp|stringp|string>=|string>|\nstring=|string<=|string<|string\\/=|string-trim|string-right-trim|string-not-lessp|string-not-greaterp|string-not-equal|string-lessp|\nstring-left-trim|string-greaterp|string-equal|string|streamp|stream-external-format|stream-error-stream|stream-element-type|standard-char-p|\nstable-sort|sqrt|special-operator-p|sort|some|software-version|software-type|slot-value|slot-makunbound|slot-exists-p|slot-boundp|sinh|sin|\nsimple-vector-p|simple-string-p|simple-condition-format-control|simple-condition-format-arguments|simple-bit-vector-p|signum|short-site-name|\nset-pprint-dispatch|search|scale-float|round|restart-name|rename-package|rename-file|rem|reduce|realpart|realp|readtablep|\nread-preserving-whitespace|read-line|read-from-string|read-delimited-list|read-char-no-hang|read-char|read|rationalp|rationalize|\nrational|rassoc-if-not|rassoc-if|rassoc|random-state-p|proclaim|probe-file|print-not-readable-object|print|princ-to-string|princ|\nprin1-to-string|prin1|pprint-tab|pprint-indent|pprint-dispatch|pprint|position-if-not|position-if|position|plusp|phase|peek-char|pathnamep|\npathname-version|pathname-type|pathname-name|pathname-match-p|pathname-host|pathname-directory|pathname-device|pathname|parse-namestring|\nparse-integer|pairlis|packagep|package-used-by-list|package-use-list|package-shadowing-symbols|package-nicknames|package-name|package-error-package|\noutput-stream-p|open-stream-p|open|oddp|numerator|numberp|null|nthcdr|notevery|notany|not|next-method-p|nbutlast|namestring|name-char|mod|mismatch|\nminusp|min|merge-pathnames|merge|member-if-not|member-if|member|max|maplist|mapl|mapcon|mapcar|mapcan|mapc|map-into|map|make-two-way-stream|\nmake-synonym-stream|make-symbol|make-string-output-stream|make-string-input-stream|make-string|make-sequence|make-random-state|make-pathname|\nmake-package|make-load-form-saving-slots|make-list|make-hash-table|make-echo-stream|make-dispatch-macro-character|make-condition|\nmake-concatenated-stream|make-broadcast-stream|make-array|macroexpand-1|macroexpand|machine-version|machine-type|machine-instance|lower-case-p|\nlong-site-name|logxor|logtest|logorc2|logorc1|lognot|lognor|lognand|logior|logical-pathname|logeqv|logcount|logbitp|logandc2|logandc1|logand|\nlog|load-logical-pathname-translations|load|listp|listen|list-length|list-all-packages|list\\*|list|lisp-implementation-version|\nlisp-implementation-type|length|ldb-test|lcm|last|keywordp|isqrt|intern|interactive-stream-p|integerp|integer-length|integer-decode-float|\ninput-stream-p|imagpart|identity|host-namestring|hash-table-test|hash-table-size|hash-table-rehash-threshold|hash-table-rehash-size|hash-table-p|\nhash-table-count|graphic-char-p|get-universal-time|get-setf-expansion|get-properties|get-internal-run-time|get-internal-real-time|\nget-decoded-time|gcd|functionp|function-lambda-expression|funcall|ftruncate|fround|format|force-output|fmakunbound|floor|floatp|float-sign|\nfloat-radix|float-precision|float-digits|float|finish-output|find-symbol|find-restart|find-package|find-if-not|find-if|find-all-symbols|find|\nfile-write-date|file-string-length|file-namestring|file-length|file-error-pathname|file-author|ffloor|fceiling|fboundp|expt|exp|every|evenp|\neval|equalp|equal|eql|eq|ensure-generic-function|ensure-directories-exist|enough-namestring|endp|encode-universal-time|ed|echo-stream-output-stream|\necho-stream-input-stream|dribble|dpb|disassemble|directory-namestring|directory|digit-char-p|digit-char|deposit-field|denominator|delete-package|\ndelete-file|decode-universal-time|decode-float|count-if-not|count-if|count|cosh|cos|copy-tree|copy-symbol|copy-structure|copy-seq|copy-readtable|\ncopy-pprint-dispatch|copy-list|copy-alist|constantp|constantly|consp|cons|conjugate|concatenated-stream-streams|concatenate|compute-restarts|\ncomplexp|complex|complement|compiled-function-p|compile-file-pathname|compile-file|compile|coerce|code-char|clear-output|class-of|cis|characterp|\ncharacter|char>=|char>|char=|char<=|char<|char\\/=|char-upcase|char-not-lessp|char-not-greaterp|char-not-equal|char-name|char-lessp|char-int|\nchar-greaterp|char-equal|char-downcase|char-code|cerror|cell-error-name|ceiling|call-next-method|byte-size|byte-position|byte|butlast|\nbroadcast-stream-streams|boundp|both-case-p|boole|bit-xor|bit-vector-p|bit-orc2|bit-orc1|bit-not|bit-nor|bit-nand|bit-ior|bit-eqv|bit-andc2|\nbit-andc1|bit-and|atom|atanh|atan|assoc-if-not|assoc-if|assoc|asinh|asin|ash|arrayp|array-total-size|array-row-major-index|array-rank|\narray-in-bounds-p|array-has-fill-pointer-p|array-element-type|array-displacement|array-dimensions|array-dimension|arithmetic-error-operation|\narithmetic-error-operands|apropos-list|apropos|apply|append|alphanumericp|alpha-char-p|adjustable-array-p|adjust-array|adjoin|acosh|acos|acons|\nabs|>=|>|=|<=|<|1-|1\\+|\\/=|\\/|-|\\+|\\*)\n(?=(\\s|\\(|\\)))", + "match": "(?xi)\n(?<=^|\\s|\\(|\\#') # preceded by space or (\n(?:zerop|write-to-string|write-string|write-line|write|wild-pathname-p|vectorp|vector-push-extend|vector-push|vector|values-list|\nuser-homedir-pathname|upper-case-p|upgraded-complex-part-type|upgraded-array-element-type|unread-char|unbound-slot-instance|typep|type-of|\ntype-error-expected-type|type-error-datum|two-way-stream-output-stream|two-way-stream-input-stream|truncate|truename|tree-equal|translate-pathname|\ntranslate-logical-pathname|tanh|tan|synonym-stream-symbol|symbolp|symbol-package|symbol-name|sxhash|subtypep|subsetp|stringp|string>=|string>|\nstring=|string<=|string<|string\\/=|string-trim|string-right-trim|string-not-lessp|string-not-greaterp|string-not-equal|string-lessp|\nstring-left-trim|string-greaterp|string-equal|string|streamp|stream-external-format|stream-error-stream|stream-element-type|standard-char-p|\nstable-sort|sqrt|special-operator-p|sort|some|software-version|software-type|slot-value|slot-makunbound|slot-exists-p|slot-boundp|sinh|sin|\nsimple-vector-p|simple-string-p|simple-condition-format-control|simple-condition-format-arguments|simple-bit-vector-p|signum|short-site-name|\nset-pprint-dispatch|search|scale-float|round|restart-name|rename-package|rename-file|rem|reduce|realpart|realp|readtablep|\nread-preserving-whitespace|read-line|read-from-string|read-delimited-list|read-char-no-hang|read-char|read|rationalp|rationalize|\nrational|rassoc-if-not|rassoc-if|rassoc|random-state-p|proclaim|probe-file|print-not-readable-object|print|princ-to-string|princ|\nprin1-to-string|prin1|pprint-tab|pprint-indent|pprint-dispatch|pprint|position-if-not|position-if|position|plusp|phase|peek-char|pathnamep|\npathname-version|pathname-type|pathname-name|pathname-match-p|pathname-host|pathname-directory|pathname-device|pathname|parse-namestring|\nparse-integer|pairlis|packagep|package-used-by-list|package-use-list|package-shadowing-symbols|package-nicknames|package-name|package-error-package|\noutput-stream-p|open-stream-p|open|oddp|numerator|numberp|null|nthcdr|notevery|notany|not|next-method-p|nbutlast|namestring|name-char|mod|mismatch|\nminusp|min|merge-pathnames|merge|member-if-not|member-if|member|max|maplist|mapl|mapcon|mapcar|mapcan|mapc|map-into|map|make-two-way-stream|\nmake-synonym-stream|make-symbol|make-string-output-stream|make-string-input-stream|make-string|make-sequence|make-random-state|make-pathname|\nmake-package|make-load-form-saving-slots|make-list|make-hash-table|make-echo-stream|make-dispatch-macro-character|make-condition|\nmake-concatenated-stream|make-broadcast-stream|make-array|macroexpand-1|macroexpand|machine-version|machine-type|machine-instance|lower-case-p|\nlong-site-name|logxor|logtest|logorc2|logorc1|lognot|lognor|lognand|logior|logical-pathname|logeqv|logcount|logbitp|logandc2|logandc1|logand|\nlog|load-logical-pathname-translations|load|listp|listen|list-length|list-all-packages|list\\*|list|lisp-implementation-version|\nlisp-implementation-type|length|ldb-test|lcm|last|keywordp|isqrt|intern|interactive-stream-p|integerp|integer-length|integer-decode-float|\ninput-stream-p|imagpart|identity|host-namestring|hash-table-test|hash-table-size|hash-table-rehash-threshold|hash-table-rehash-size|hash-table-p|\nhash-table-count|graphic-char-p|get-universal-time|get-setf-expansion|get-properties|get-internal-run-time|get-internal-real-time|\nget-decoded-time|gcd|functionp|function-lambda-expression|funcall|ftruncate|fround|format|force-output|fmakunbound|floor|floatp|float-sign|\nfloat-radix|float-precision|float-digits|float|finish-output|find-symbol|find-restart|find-package|find-if-not|find-if|find-all-symbols|find|\nfile-write-date|file-string-length|file-namestring|file-length|file-error-pathname|file-author|ffloor|fceiling|fboundp|expt|exp|every|evenp|\neval|equalp|equal|eql|eq|ensure-generic-function|ensure-directories-exist|enough-namestring|endp|encode-universal-time|ed|echo-stream-output-stream|\necho-stream-input-stream|dribble|dpb|disassemble|directory-namestring|directory|digit-char-p|digit-char|deposit-field|denominator|delete-package|\ndelete-file|decode-universal-time|decode-float|count-if-not|count-if|count|cosh|cos|copy-tree|copy-symbol|copy-structure|copy-seq|copy-readtable|\ncopy-pprint-dispatch|copy-list|copy-alist|constantp|constantly|consp|cons|conjugate|concatenated-stream-streams|concatenate|compute-restarts|\ncomplexp|complex|complement|compiled-function-p|compile-file-pathname|compile-file|compile|coerce|code-char|clear-output|class-of|cis|characterp|\ncharacter|char>=|char>|char=|char<=|char<|char\\/=|char-upcase|char-not-lessp|char-not-greaterp|char-not-equal|char-name|char-lessp|char-int|\nchar-greaterp|char-equal|char-downcase|char-code|cerror|cell-error-name|ceiling|call-next-method|byte-size|byte-position|byte|butlast|\nbroadcast-stream-streams|boundp|both-case-p|boole|bit-xor|bit-vector-p|bit-orc2|bit-orc1|bit-not|bit-nor|bit-nand|bit-ior|bit-eqv|bit-andc2|\nbit-andc1|bit-and|atom|atanh|atan|assoc-if-not|assoc-if|assoc|asinh|asin|ash|arrayp|array-total-size|array-row-major-index|array-rank|\narray-in-bounds-p|array-has-fill-pointer-p|array-element-type|array-displacement|array-dimensions|array-dimension|arithmetic-error-operation|\narithmetic-error-operands|apropos-list|apropos|apply|append|alphanumericp|alpha-char-p|adjustable-array-p|adjust-array|adjoin|acosh|acos|acons|\nabs|>=|>|=|<=|<|1-|1\\+|\\/=|\\/|-|\\+|\\*)\n(?=(\\s|\\(|\\))) # followed by space, ( or )", "name": "support.function.f.sideeffects.commonlisp" }, { - "match": "(?xi)\n(?<=^|\\s|\\(|\\#')\n(?:variable|update-instance-for-redefined-class|update-instance-for-different-class|structure|slot-unbound|slot-missing|shared-initialize|\nremove-method|print-object|no-next-method|no-applicable-method|method-qualifiers|make-load-form|make-instances-obsolete|make-instance|\ninitialize-instance|function-keywords|find-method|documentation|describe-object|compute-applicable-methods|compiler-macro|class-name|\nchange-class|allocate-instance|add-method)\n(?=(\\s|\\(|\\)))", + "match": "(?xi)\n(?<=^|\\s|\\(|\\#') # preceded by space or (\n(?:variable|update-instance-for-redefined-class|update-instance-for-different-class|structure|slot-unbound|slot-missing|shared-initialize|\nremove-method|print-object|no-next-method|no-applicable-method|method-qualifiers|make-load-form|make-instances-obsolete|make-instance|\ninitialize-instance|function-keywords|find-method|documentation|describe-object|compute-applicable-methods|compiler-macro|class-name|\nchange-class|allocate-instance|add-method)\n(?=(\\s|\\(|\\))) # followed by space, ( or )", "name": "support.function.sgf.nosideeffects.commonlisp" }, { - "match": "(?xi)\n(?<=^|\\s|\\(|\\#')\n(?:reinitialize-instance)\n(?=(\\s|\\(|\\)))", + "match": "(?xi)\n(?<=^|\\s|\\(|\\#') # preceded by space or (\n(?:reinitialize-instance)\n(?=(\\s|\\(|\\))) # followed by space, ( or )", "name": "support.function.sgf.sideeffects.commonlisp" }, { - "match": "(?xi)\n(?<=^|\\s|\\(|\\#')\n(?:satisfies)\n(?=(\\s|\\(|\\)))", + "match": "(?xi)\n(?<=^|\\s|\\(|\\#') # preceded by space or (\n(?:satisfies)\n(?=(\\s|\\(|\\))) # followed by space, ( or )", "name": "support.function.typespecifier.commonlisp" } ] }, "lambda-list": { - "match": "(?xi)\n(?<=^|\\s|\\()\n(?:&[#:A-Za-z0-9\\+\\-\\*\\/\\@\\$\\%\\^\\&\\_\\=\\<\\>\\~\\!\\?\\[\\]\\{\\}\\.]+?|&whole|&rest|&optional|&key|&environment|&body|&aux|&allow-other-keys)\n(?=(\\s|\\(|\\)))", + "match": "(?xi)\n(?<=^|\\s|\\() # preceded by space or (\n(?:&[#:A-Za-z0-9\\+\\-\\*\\/\\@\\$\\%\\^\\&\\_\\=\\<\\>\\~\\!\\?\\[\\]\\{\\}\\.]+?|&whole|&rest|&optional|&key|&environment|&body|&aux|&allow-other-keys)\n(?=(\\s|\\(|\\))) # followed by space, ( or )", "name": "keyword.other.lambdalist.commonlisp" }, "macro": { "patterns": [ { - "match": "(?xi)\n(?<=^|\\s|\\()\n(?:with-standard-io-syntax|with-slots|with-simple-restart|with-package-iterator|with-hash-table-iterator|with-condition-restarts|\nwith-compilation-unit|with-accessors|when|unless|typecase|time|step|shiftf|setf|rotatef|return|restart-case|restart-bind|psetf|prog2|prog1|\nprog\\*|prog|print-unreadable-object|pprint-logical-block|pprint-exit-if-list-exhausted|or|nth-value|multiple-value-setq|multiple-value-list|\nmultiple-value-bind|make-method|loop|lambda|ignore-errors|handler-case|handler-bind|formatter|etypecase|dotimes|dolist|do-symbols|do-external-symbols|\ndo-all-symbols|do\\*|do|destructuring-bind|defun|deftype|defstruct|defsetf|defpackage|defmethod|defmacro|define-symbol-macro|define-setf-expander|\ndefine-condition|define-compiler-macro|defgeneric|defconstant|defclass|declaim|ctypecase|cond|call-method|assert|and)\n(?=(\\s|\\(|\\)))", + "match": "(?xi)\n(?<=^|\\s|\\() # preceded by space or (\n(?:with-standard-io-syntax|with-slots|with-simple-restart|with-package-iterator|with-hash-table-iterator|with-condition-restarts|\nwith-compilation-unit|with-accessors|when|unless|typecase|time|step|shiftf|setf|rotatef|return|restart-case|restart-bind|psetf|prog2|prog1|\nprog\\*|prog|print-unreadable-object|pprint-logical-block|pprint-exit-if-list-exhausted|or|nth-value|multiple-value-setq|multiple-value-list|\nmultiple-value-bind|make-method|loop|lambda|ignore-errors|handler-case|handler-bind|formatter|etypecase|dotimes|dolist|do-symbols|do-external-symbols|\ndo-all-symbols|do\\*|do|destructuring-bind|defun|deftype|defstruct|defsetf|defpackage|defmethod|defmacro|define-symbol-macro|define-setf-expander|\ndefine-condition|define-compiler-macro|defgeneric|defconstant|defclass|declaim|ctypecase|cond|call-method|assert|and)\n(?=(\\s|\\(|\\))) # followed by space, ( or )", "name": "storage.type.function.m.nosideeffects.commonlisp" }, { - "match": "(?xi)\n(?<=^|\\s|\\()\n(?:with-output-to-string|with-open-stream|with-open-file|with-input-from-string|untrace|trace|remf|pushnew|push|psetq|pprint-pop|pop|\notherwise|loop-finish|incf|in-package|ecase|defvar|defparameter|define-modify-macro|define-method-combination|decf|check-type|ccase|case)\n(?=(\\s|\\(|\\)))", + "match": "(?xi)\n(?<=^|\\s|\\() # preceded by space or (\n(?:with-output-to-string|with-open-stream|with-open-file|with-input-from-string|untrace|trace|remf|pushnew|push|psetq|pprint-pop|pop|\notherwise|loop-finish|incf|in-package|ecase|defvar|defparameter|define-modify-macro|define-method-combination|decf|check-type|ccase|case)\n(?=(\\s|\\(|\\))) # followed by space, ( or )", "name": "storage.type.function.m.sideeffects.commonlisp" }, { - "match": "(?xi)\n(?<=^|\\s|\\()\n(?:setq)\n(?=(\\s|\\(|\\)))", + "match": "(?xi)\n(?<=^|\\s|\\() # preceded by space or (\n(?:setq)\n(?=(\\s|\\(|\\))) # followed by space, ( or )", "name": "storage.type.function.specialform.commonlisp" } ] @@ -310,18 +310,18 @@ "name": "support.type.package.commonlisp" } }, - "match": "(?xi)\n(?<=^|\\s|\\(|,@|,\\.|,)\n(\n([A-Za-z0-9\\+\\-\\*\\/\\@\\$\\%\\^\\&\\_\\=\\<\\>\\~\\!\\?\\[\\]\\{\\}\\.]+?)\n|\n(\\#)\n)\n(?=\\:\\:|\\:)" + "match": "(?xi)\n(?<=^|\\s|\\(|,@|,\\.|,) # preceded by space , ( or `,`|`,@`|`,.`\n(\n ([A-Za-z0-9\\+\\-\\*\\/\\@\\$\\%\\^\\&\\_\\=\\<\\>\\~\\!\\?\\[\\]\\{\\}\\.]+?) #2\n | \n (\\#) #3\n)\n(?=\\:\\:|\\:)" } ] }, "punctuation": { "patterns": [ { - "match": "(?xi)\n(?<=^|\\s|\\(|,@|,\\.|,)\n('|`)\n(?=\\S)", + "match": "(?xi)\n(?<=^|\\s|\\(|,@|,\\.|,) # preceded by space , ( or `,`|`,@`|`,.`\n('|`)\n(?=\\S)", "name": "variable.other.constant.singlequote.commonlisp" }, { - "match": "(?xi)\n(?<=^|\\s|\\(|,@|,\\.|,)\n(?:\\:[#:A-Za-z0-9\\+\\-\\*\\/\\@\\$\\%\\^\\&\\_\\=\\<\\>\\~\\!\\?\\[\\]\\{\\}\\.]+?)\n(?=(\\s|\\(|\\)))", + "match": "(?xi)\n(?<=^|\\s|\\(|,@|,\\.|,) # preceded by space , ( or `,`|`,@`|`,.`\n(?:\\:[#:A-Za-z0-9\\+\\-\\*\\/\\@\\$\\%\\^\\&\\_\\=\\<\\>\\~\\!\\?\\[\\]\\{\\}\\.]+?)\n(?=(\\s|\\(|\\))) # followed by space, ( or )", "name": "entity.name.variable.commonlisp" }, { @@ -333,7 +333,7 @@ "name": "constant.numeric.commonlisp" } }, - "match": "(?xi)\n(?<=^|\\s|\\(|,@|,\\.|,)\n(\\#)([0-9]*)\n(?=\\()" + "match": "(?xi)\n(?<=^|\\s|\\(|,@|,\\.|,) # preceded by space , ( or `,`|`,@`|`,.`\n(\\#)([0-9]*)\n(?=\\()" }, { "captures": { @@ -347,10 +347,10 @@ "name": "variable.other.constant.sharpsign.commonlisp" } }, - "match": "(?xi)\n(?<=^|\\s|\\(|,@|,\\.|,)\n(\\#)\n([0-9]*)\n(\\*)\n(?=0|1)" + "match": "(?xi)\n(?<=^|\\s|\\(|,@|,\\.|,) # preceded by space , ( or `,`|`,@`|`,.`\n(\\#)\n([0-9]*)\n(\\*)\n(?=0|1)" }, { - "match": "(?xi)\n(?<=^|\\s|\\(|,@|,\\.|,)\n(\\#\\*|\\#0\\*)\n(?=(\\s|\\(|\\)))", + "match": "(?xi)\n(?<=^|\\s|\\(|,@|,\\.|,) # preceded by space , ( or `,`|`,@`|`,.`\n(\\#\\*|\\#0\\*)\n(?=(\\s|\\(|\\))) # followed by space, ( or )", "name": "variable.other.constant.sharpsign.commonlisp" }, { @@ -365,7 +365,7 @@ "name": "variable.other.constant.sharpsign.commonlisp" } }, - "match": "(?xi)\n(?<=^|\\s|\\(|,@|,\\.|,)\n(\\#)\n([0-9]+)\n(a|A)\n(?=.)" + "match": "(?xi)\n(?<=^|\\s|\\(|,@|,\\.|,) # preceded by space , ( or `,`|`,@`|`,.`\n(\\#)\n([0-9]+)\n(a|A)\n(?=.)" }, { "captures": { @@ -379,7 +379,7 @@ "name": "variable.other.constant.sharpsign.commonlisp" } }, - "match": "(?xi)\n(?<=^|\\s|\\(|,@|,\\.|,)\n(\\#)\n([0-9]+)\n(=)\n(?=.)" + "match": "(?xi)\n(?<=^|\\s|\\(|,@|,\\.|,) # preceded by space , ( or `,`|`,@`|`,.`\n(\\#)\n([0-9]+)\n(=)\n(?=.)" }, { "captures": { @@ -393,14 +393,14 @@ "name": "variable.other.constant.sharpsign.commonlisp" } }, - "match": "(?xi)\n(?<=^|\\s|\\(|,@|,\\.|,)\n(\\#)\n([0-9]+)\n(\\#)\n(?=.)" + "match": "(?xi)\n(?<=^|\\s|\\(|,@|,\\.|,) # preceded by space , ( or `,`|`,@`|`,.`\n(\\#)\n([0-9]+)\n(\\#)\n(?=.)" }, { - "match": "(?xi)\n(?<=^|\\s|\\(|,@|,\\.|,)\n(\\#(\\+|-))\n(?=\\S)", + "match": "(?xi)\n(?<=^|\\s|\\(|,@|,\\.|,) # preceded by space , ( or `,`|`,@`|`,.`\n(\\#(\\+|-))\n(?=\\S)", "name": "variable.other.constant.sharpsign.commonlisp" }, { - "match": "(?xi)\n(?<=^|\\s|\\(|,@|,\\.|,)\n(\\#('|,|\\.|c|C|s|S|p|P))\n(?=\\S)", + "match": "(?xi)\n(?<=^|\\s|\\(|,@|,\\.|,) # preceded by space , ( or `,`|`,@`|`,.`\n(\\#('|,|\\.|c|C|s|S|p|P))\n(?=\\S)", "name": "variable.other.constant.sharpsign.commonlisp" }, { @@ -409,7 +409,7 @@ "name": "support.type.package.commonlisp" } }, - "match": "(?xi)\n(?<=^|\\s|\\(|,@|,\\.|,)\n(\\#)\n(:)\n(?=\\S)" + "match": "(?xi)\n(?<=^|\\s|\\(|,@|,\\.|,) # preceded by space , ( or `,`|`,@`|`,.`\n(\\#)\n(:)\n(?=\\S)" }, { "captures": { @@ -426,7 +426,7 @@ "name": "variable.other.constant.backquote.commonlisp" } }, - "match": "(?xi)\n(?<=^|\\s|\\()\n(\n(`\\#)\n|\n(`)(,@|,\\.|,)?\n|\n(,@|,\\.|,)\n)\n(?=\\S)" + "match": "(?xi)\n(?<=^|\\s|\\() # preceded by space or (\n(\n (`\\#) #2\n |\n (`)(,@|,\\.|,)? #3, #4\n |\n (,@|,\\.|,) #5\n)\n(?=\\S)" } ] }, @@ -436,7 +436,7 @@ "name": "keyword.control.commonlisp" } }, - "match": "(?xi)\n(\\(\\s*)\n(unwind-protect|throw|the|tagbody|symbol-macrolet|return-from|quote|progv|progn|multiple-value-prog1|multiple-value-call|\nmacrolet|locally|load-time-value|let\\*|let|labels|if|go|function|flet|eval-when|catch|block)\n(?=(\\s|\\(|\\)))" + "match": "(?xi)\n(\\(\\s*) # preceded by (\n(unwind-protect|throw|the|tagbody|symbol-macrolet|return-from|quote|progv|progn|multiple-value-prog1|multiple-value-call|\nmacrolet|locally|load-time-value|let\\*|let|labels|if|go|function|flet|eval-when|catch|block)\n(?=(\\s|\\(|\\))) # followed by space, ( or )" }, "string": { "begin": "(\")", @@ -472,7 +472,7 @@ "name": "storage.type.function.formattedstring.commonlisp" } }, - "match": "(?xi)\n\n(~)\n(\n(\n(([+-]?[0-9]+)|('.)|V|\\#)*?\n(,)?\n)\n*?)\n(\n(:@|@:|:|@)\n?)\n(\\(|\\)|\\[|\\]|;|{|}|<|>|\\^)" + "match": "(?xi)\n\n(~) #1 tilde\n(\n (\n (([+-]?[0-9]+)|('.)|V|\\#)*?\n (,)?\n )\n*?) #2 prefix parameters, signed decimal numbers|single char, separated by commas\n(\n (:@|@:|:|@)\n?) #8 modifiers\n(\\(|\\)|\\[|\\]|;|{|}|<|>|\\^) #10 control structures" }, { "captures": { @@ -489,7 +489,7 @@ "name": "entity.name.variable.commonlisp" } }, - "match": "(?xi)\n\n(~)\n(\n(\n(([+-]?[0-9]+)|('.)|V|\\#)*?\n(,)?\n)\n*?)\n(\n(:@|@:|:|@)\n?)\n(A|S|D|B|O|X|R|P|C|F|E|G|\\$|%|\\&|\\||~|T|\\*|\\?|_|W|I)" + "match": "(?xi)\n\n(~) #1 tilde\n(\n (\n (([+-]?[0-9]+)|('.)|V|\\#)*?\n (,)?\n )\n*?) #2 prefix parameters, signed decimal numbers|single char, separated by commas\n(\n (:@|@:|:|@)\n?) #8 modifiers\n(A|S|D|B|O|X|R|P|C|F|E|G|\\$|%|\\&|\\||~|T|\\*|\\?|_|W|I) #10 directives" }, { "captures": { @@ -512,7 +512,7 @@ "name": "entity.name.variable.commonlisp" } }, - "match": "(?xi)\n\n(~)\n(\n(\n(([+-]?[0-9]+)|('.)|V|\\#)*?\n(,)?\n)\n*?)\n(\n(:@|@:|:|@)\n?)\n(\\/)\n([#:A-Za-z0-9\\+\\-\\*\\/\\@\\$\\%\\^\\&\\_\\=\\<\\>\\~\\!\\?\\[\\]\\{\\}\\.]+?)\n(\\/)" + "match": "(?xi)\n\n(~) #1 tilde\n(\n (\n (([+-]?[0-9]+)|('.)|V|\\#)*?\n (,)?\n )\n*?) #2 prefix parameters, signed decimal numbers|single char, separated by commas\n(\n (:@|@:|:|@)\n?) #8 modifiers\n(\\/) #10\n([#:A-Za-z0-9\\+\\-\\*\\/\\@\\$\\%\\^\\&\\_\\=\\<\\>\\~\\!\\?\\[\\]\\{\\}\\.]+?) #11 call function\n(\\/) #12" }, { "match": "(~\\n)", @@ -531,31 +531,31 @@ "match": "(?xi)\n(?<=^'|\\s'|\\('|,@'|,\\.'|,')\n(\\S+?)\n(\\:\\:|\\:)\n((\\+[^\\s\\+]+\\+)|(\\*[^\\s\\*]+\\*))\n(?=(\\s|\\(|\\)))" }, { - "match": "(?xi)\n(?<=\\S:|^|\\s|\\(|,@|,\\.|,)\n(\\+[^\\s\\+]+\\+)\n(?=(\\s|\\(|\\)))", + "match": "(?xi)\n(?<=\\S:|^|\\s|\\(|,@|,\\.|,) # preceded by space , ( or `,`|`,@`|`,.`\n(\\+[^\\s\\+]+\\+)\n(?=(\\s|\\(|\\))) # followed by space, ( or )", "name": "variable.other.constant.earmuffsplus.commonlisp" }, { - "match": "(?xi)\n(?<=\\S:|^|\\s|\\(|,@|,\\.|,)\n(\\*[^\\s\\*]+\\*)\n(?=(\\s|\\(|\\)))", + "match": "(?xi)\n(?<=\\S:|^|\\s|\\(|,@|,\\.|,) # preceded by space , ( or `,`|`,@`|`,.`\n(\\*[^\\s\\*]+\\*)\n(?=(\\s|\\(|\\))) # followed by space, ( or )", "name": "string.regexp.earmuffsasterisk.commonlisp" } ] }, "symbol": { - "match": "(?xi)\n(?<=^|\\s|\\()\n(?:method-combination|declare)\n(?=(\\s|\\(|\\)))", + "match": "(?xi)\n(?<=^|\\s|\\() # preceded by space or (\n(?:method-combination|declare)\n(?=(\\s|\\(|\\))) # followed by space, ( or )", "name": "storage.type.function.symbol.commonlisp" }, "type": { - "match": "(?xi)\n(?<=^|\\s|\\()\n(?:unsigned-byte|standard-char|standard|single-float|simple-vector|simple-string|simple-bit-vector|simple-base-string|simple-array|\nsigned-byte|short-float|long-float|keyword|fixnum|extended-char|double-float|compiled-function|boolean|bignum|base-string|base-char)\n(?=(\\s|\\(|\\)))", + "match": "(?xi)\n(?<=^|\\s|\\() # preceded by space or (\n(?:unsigned-byte|standard-char|standard|single-float|simple-vector|simple-string|simple-bit-vector|simple-base-string|simple-array|\nsigned-byte|short-float|long-float|keyword|fixnum|extended-char|double-float|compiled-function|boolean|bignum|base-string|base-char)\n(?=(\\s|\\(|\\))) # followed by space, ( or )", "name": "support.type.t.commonlisp" }, "variable": { "patterns": [ { - "match": "(?xi)\n(?<=^|\\s|\\(|,@|,\\.|,)\n(?:\\*trace-output\\*|\\*terminal-io\\*|\\*standard-output\\*|\\*standard-input\\*|\\*readtable\\*|\\*read-suppress\\*|\\*read-eval\\*|\n\\*read-default-float-format\\*|\\*read-base\\*|\\*random-state\\*|\\*query-io\\*|\\*print-right-margin\\*|\\*print-readably\\*|\\*print-radix\\*|\\*print-pretty\\*|\n\\*print-pprint-dispatch\\*|\\*print-miser-width\\*|\\*print-lines\\*|\\*print-level\\*|\\*print-length\\*|\\*print-gensym\\*|\\*print-escape\\*|\\*print-circle\\*|\n\\*print-case\\*|\\*print-base\\*|\\*print-array\\*|\\*package\\*|\\*modules\\*|\\*macroexpand-hook\\*|\\*load-verbose\\*|\\*load-truename\\*|\\*load-print\\*|\n\\*load-pathname\\*|\\*gensym-counter\\*|\\*features\\*|\\*error-output\\*|\\*default-pathname-defaults\\*|\\*debugger-hook\\*|\\*debug-io\\*|\\*compile-verbose\\*|\n\\*compile-print\\*|\\*compile-file-truename\\*|\\*compile-file-pathname\\*|\\*break-on-signals\\*)\n(?=(\\s|\\(|\\)))", + "match": "(?xi)\n(?<=^|\\s|\\(|,@|,\\.|,) # preceded by space , ( or `,`|`,@`|`,.`\n(?:\\*trace-output\\*|\\*terminal-io\\*|\\*standard-output\\*|\\*standard-input\\*|\\*readtable\\*|\\*read-suppress\\*|\\*read-eval\\*|\n\\*read-default-float-format\\*|\\*read-base\\*|\\*random-state\\*|\\*query-io\\*|\\*print-right-margin\\*|\\*print-readably\\*|\\*print-radix\\*|\\*print-pretty\\*|\n\\*print-pprint-dispatch\\*|\\*print-miser-width\\*|\\*print-lines\\*|\\*print-level\\*|\\*print-length\\*|\\*print-gensym\\*|\\*print-escape\\*|\\*print-circle\\*|\n\\*print-case\\*|\\*print-base\\*|\\*print-array\\*|\\*package\\*|\\*modules\\*|\\*macroexpand-hook\\*|\\*load-verbose\\*|\\*load-truename\\*|\\*load-print\\*|\n\\*load-pathname\\*|\\*gensym-counter\\*|\\*features\\*|\\*error-output\\*|\\*default-pathname-defaults\\*|\\*debugger-hook\\*|\\*debug-io\\*|\\*compile-verbose\\*|\n\\*compile-print\\*|\\*compile-file-truename\\*|\\*compile-file-pathname\\*|\\*break-on-signals\\*)\n(?=(\\s|\\(|\\))) # followed by space, ( or )", "name": "string.regexp.earmuffsasterisk.commonlisp" }, { - "match": "(?xi)\n(?<=^|\\s|\\(|,@|,\\.|,)\n(?:\\*\\*\\*|\\*\\*|\\+\\+\\+|\\+\\+|\\/\\/\\/|\\/\\/)\n(?=(\\s|\\(|\\)))", + "match": "(?xi)\n(?<=^|\\s|\\(|,@|,\\.|,) # preceded by space , ( or `,`|`,@`|`,.`\n(?:\\*\\*\\*|\\*\\*|\\+\\+\\+|\\+\\+|\\/\\/\\/|\\/\\/)\n(?=(\\s|\\(|\\))) # followed by space, ( or )", "name": "variable.other.repl.commonlisp" } ] diff --git a/packages/tm-grammars/grammars/cpp.json b/packages/tm-grammars/grammars/cpp.json index 54b6dc3..e0b9a01 100644 --- a/packages/tm-grammars/grammars/cpp.json +++ b/packages/tm-grammars/grammars/cpp.json @@ -13163,7 +13163,7 @@ "name": "invalid.illegal.unknown-escape" }, { - "match": "(?!%')(?!%\")%(\\d+\\$)?[#0\\-\\s+']*[,;:_]?((-?\\d+)|\\*(-?\\d+\\$)?)?(\\.((-?\\d+)|\\*(-?\\d+\\$)?)?)?(hh|h|ll|l|j|t|z|q|L|vh|vl|v|hv|hl)?[diouxXDOUeEfFgGaACcSspn%]", + "match": "(?!%')(?!%\")%(\\d+\\$)?[#0\\- +']*[,;:_]?((-?\\d+)|\\*(-?\\d+\\$)?)?(\\.((-?\\d+)|\\*(-?\\d+\\$)?)?)?(hh|h|ll|l|j|t|z|q|L|vh|vl|v|hv|hl)?[diouxXDOUeEfFgGaACcSspn%]", "name": "constant.other.placeholder" } ] diff --git a/packages/tm-grammars/grammars/css.json b/packages/tm-grammars/grammars/css.json index 1e9b221..719efec 100644 --- a/packages/tm-grammars/grammars/css.json +++ b/packages/tm-grammars/grammars/css.json @@ -439,7 +439,7 @@ "name": "entity.other.keyframe-offset.percentage.css" } }, - "match": "(?xi)\n(?<:=]|\\)|/\\*)" + "match": "(?xi)\n(?<=^|\\s|\\(|\\*/) # Preceded by whitespace, bracket or comment\n(?:\n # Standardised features\n (\n (?:min-|max-)? # Range features\n (?: height\n | width\n | aspect-ratio\n | color\n | color-index\n | monochrome\n | resolution\n )\n | grid # Discrete features\n | scan\n | orientation\n | display-mode\n | hover\n )\n |\n # Deprecated features\n (\n (?:min-|max-)? # Deprecated in Media Queries 4\n device-\n (?: height\n | width\n | aspect-ratio\n )\n )\n |\n # Vendor extensions\n (\n (?:\n # Spec-compliant syntax\n [-_]\n (?: webkit # Webkit/Blink\n | apple|khtml # Webkit aliases\n | epub # ePub3\n | moz # Gecko\n | ms # Microsoft\n | o # Presto (pre-Opera 15)\n | xv|ah|rim|atsc| # Less common vendors\n hp|tc|wap|ro\n )\n |\n # Non-standard prefixes\n (?: mso # Microsoft Office\n | prince # YesLogic\n )\n )\n -\n [\\w-]+ # Feature name\n (?= # Terminates correctly\n \\s* # Possible whitespace\n (?: # Possible injected comment\n /\\*\n (?:[^*]|\\*[^/])*\n \\*/\n )?\n \\s*\n [:)] # Ends with a colon or closed bracket\n )\n )\n)\n(?=\\s|$|[><:=]|\\)|/\\*) # Terminates cleanly" }, "media-query": { "begin": "\\G", @@ -1365,7 +1365,7 @@ "name": "invalid.deprecated.constant.media.css" } }, - "match": "(?xi)\n(?<=^|\\s|,|\\*/)\n(?:\n\n(all|print|screen|speech)\n|\n\n(aural|braille|embossed|handheld|projection|tty|tv)\n)\n(?=$|[{,\\s;]|/\\*)" + "match": "(?xi)\n(?<=^|\\s|,|\\*/)\n(?:\n # Valid media types\n (all|print|screen|speech)\n |\n # Deprecated in Media Queries 4: http://dev.w3.org/csswg/mediaqueries/#media-types\n (aural|braille|embossed|handheld|projection|tty|tv)\n)\n(?=$|[{,\\s;]|/\\*)" }, "numeric-values": { "patterns": [ @@ -1387,7 +1387,7 @@ "name": "keyword.other.unit.${2:/downcase}.css" } }, - "match": "(?xi) (?\\s,.\\#|){:\\[]|/\\*|$)", + "match": "(?xi) (?\\s,.\\#|){:\\[]|/\\*|$)", "name": "entity.name.tag.css" }, "unicode-range": { diff --git a/packages/tm-grammars/grammars/dream-maker.json b/packages/tm-grammars/grammars/dream-maker.json index 211e8a1..6793df9 100644 --- a/packages/tm-grammars/grammars/dream-maker.json +++ b/packages/tm-grammars/grammars/dream-maker.json @@ -35,7 +35,7 @@ "name": "variable.other.dm" } }, - "match": "(var)[\\/\\s](?:(static|global|tmp|const)\\/)?(?:(datum|atom(?:\\/movable)?|obj|mob|turf|area|savefile|list|client|sound|image|database|matrix|regex|exception)\\/)?(?:([a-zA-Z0-9_\\-$]*)\\/)*([A-Za-z0-9_$]*)\\b", + "match": "(var)[\\/ ](?:(static|global|tmp|const)\\/)?(?:(datum|atom(?:\\/movable)?|obj|mob|turf|area|savefile|list|client|sound|image|database|matrix|regex|exception)\\/)?(?:([a-zA-Z0-9_\\-$]*)\\/)*([A-Za-z0-9_$]*)\\b", "name": "meta.initialization.dm" }, { @@ -626,7 +626,7 @@ "string_escaped_char": { "patterns": [ { - "match": "\\\\(h(?:(?:er|im)self|ers|im)|([tTsS]?he)|He|[Hh]is|[aA]n?|(?:im)?proper|\\.\\.\\.|(?:icon|ref|[Rr]oman)(?=\\[)|[s<>\"n\\n\\s\\[])", + "match": "\\\\(h(?:(?:er|im)self|ers|im)|([tTsS]?he)|He|[Hh]is|[aA]n?|(?:im)?proper|\\.\\.\\.|(?:icon|ref|[Rr]oman)(?=\\[)|[s<>\"n\\n \\[])", "name": "constant.character.escape.dm" }, { diff --git a/packages/tm-grammars/grammars/fish.json b/packages/tm-grammars/grammars/fish.json index aa0ddf8..c5a87d4 100644 --- a/packages/tm-grammars/grammars/fish.json +++ b/packages/tm-grammars/grammars/fish.json @@ -94,7 +94,7 @@ }, { "comment": "IO Redirection", - "match": "(?x:\n<|# Standard Input\n(>|\\^|>>|\\^\\^)(&[012\\-])?|\n[012](<|>|>>)(&[012\\-])?\n)", + "match": "(?:<|#StandardInput(>|\\^|>>|\\^\\^)(&[012\\-])?|[012](<|>|>>)(&[012\\-])?)", "name": "keyword.operator.redirect.fish" }, { diff --git a/packages/tm-grammars/grammars/gdscript.json b/packages/tm-grammars/grammars/gdscript.json index d76f043..3b7d1c6 100644 --- a/packages/tm-grammars/grammars/gdscript.json +++ b/packages/tm-grammars/grammars/gdscript.json @@ -681,7 +681,7 @@ "name": "punctuation.separator.continuation.line.gdscript" } }, - "end": "(?=^\\s*$)|(?!(\\s*[rR]?(\\'\\'\\'|\\\"\\\"\\\"|\\'|\\\"))|(\\G$)(?#'\\G'isnecessaryforST))", + "end": "(?=^\\s*$)|(?!(\\s*[rR]?(\\'\\'\\'|\\\"\\\"\\\"|\\'|\\\"))|(\\G$))", "patterns": [ { "include": "#base_expression" @@ -985,7 +985,7 @@ "name": "storage.type.format.gdscript" } }, - "match": "({{|}}|(?:{\\w*(\\.[A-Za-z_]\\w*|\\[[^\\]'\"]+\\])*(![rsa])?(:\\w?[<>=^]?[-+\\s]?\\#?\\d*,?(\\.\\d+)?[bcdeEfFgGnosxX%]?)?}))", + "match": "({{|}}|(?:{\\w*(\\.[A-Za-z_]\\w*|\\[[^\\]'\"]+\\])*(![rsa])?(:\\w?[<>=^]?[-+ ]?\\#?\\d*,?(\\.\\d+)?[bcdeEfFgGnosxX%]?)?}))", "name": "meta.format.brace.gdscript" }, { @@ -1011,7 +1011,7 @@ "name": "constant.character.format.placeholder.other.gdscript" } }, - "match": "(%(\\([\\w\\s]*\\))?[-+#0\\s]*(\\d+|\\*)?(\\.(\\d+|\\*))?([hlL])?[diouxXeEfFgGcrsab%])", + "match": "(%(\\([\\w\\s]*\\))?[-+#0 ]*(\\d+|\\*)?(\\.(\\d+|\\*))?([hlL])?[diouxXeEfFgGcrsab%])", "name": "meta.format.percent.gdscript" }, "strings": { diff --git a/packages/tm-grammars/grammars/glimmer-js.json b/packages/tm-grammars/grammars/glimmer-js.json index 2dd2e2a..4c2cbb0 100644 --- a/packages/tm-grammars/grammars/glimmer-js.json +++ b/packages/tm-grammars/grammars/glimmer-js.json @@ -1191,7 +1191,7 @@ ] }, { - "begin": "(?ix:\n(?=\ntype\\s*=\\s*\n('|\"|)\ntext/\n(\nx-handlebars\n| (x-(handlebars-)?|ng-)?template\n| html\n)\n[\\s\"'>]\n)\n)", + "begin": "(?ix:\n\t\t\t\t\t\t\t\t\t\t\t\t(?=\n\t\t\t\t\t\t\t\t\t\t\t\t\ttype\\s*=\\s*\n\t\t\t\t\t\t\t\t\t\t\t\t\t('|\"|)\n\t\t\t\t\t\t\t\t\t\t\t\t\ttext/\n\t\t\t\t\t\t\t\t\t\t\t\t\t(\n\t\t\t\t\t\t\t\t\t\t\t\t\t\tx-handlebars\n\t\t\t\t\t\t\t\t\t\t\t\t\t | (x-(handlebars-)?|ng-)?template\n\t\t\t\t\t\t\t\t\t\t\t\t\t | html\n\t\t\t\t\t\t\t\t\t\t\t\t\t)\n\t\t\t\t\t\t\t\t\t\t\t\t\t[\\s\"'>]\n\t\t\t\t\t\t\t\t\t\t\t\t)\n\t\t\t\t\t\t\t\t\t\t\t)", "end": "((<))(?=/(?i:script))", "endCaptures": { "0": { diff --git a/packages/tm-grammars/grammars/glimmer-ts.json b/packages/tm-grammars/grammars/glimmer-ts.json index 7950ae4..456b20b 100644 --- a/packages/tm-grammars/grammars/glimmer-ts.json +++ b/packages/tm-grammars/grammars/glimmer-ts.json @@ -1191,7 +1191,7 @@ ] }, { - "begin": "(?ix:\n(?=\ntype\\s*=\\s*\n('|\"|)\ntext/\n(\nx-handlebars\n| (x-(handlebars-)?|ng-)?template\n| html\n)\n[\\s\"'>]\n)\n)", + "begin": "(?ix:\n\t\t\t\t\t\t\t\t\t\t\t\t(?=\n\t\t\t\t\t\t\t\t\t\t\t\t\ttype\\s*=\\s*\n\t\t\t\t\t\t\t\t\t\t\t\t\t('|\"|)\n\t\t\t\t\t\t\t\t\t\t\t\t\ttext/\n\t\t\t\t\t\t\t\t\t\t\t\t\t(\n\t\t\t\t\t\t\t\t\t\t\t\t\t\tx-handlebars\n\t\t\t\t\t\t\t\t\t\t\t\t\t | (x-(handlebars-)?|ng-)?template\n\t\t\t\t\t\t\t\t\t\t\t\t\t | html\n\t\t\t\t\t\t\t\t\t\t\t\t\t)\n\t\t\t\t\t\t\t\t\t\t\t\t\t[\\s\"'>]\n\t\t\t\t\t\t\t\t\t\t\t\t)\n\t\t\t\t\t\t\t\t\t\t\t)", "end": "((<))(?=/(?i:script))", "endCaptures": { "0": { diff --git a/packages/tm-grammars/grammars/gnuplot.json b/packages/tm-grammars/grammars/gnuplot.json index 7773761..6544be3 100644 --- a/packages/tm-grammars/grammars/gnuplot.json +++ b/packages/tm-grammars/grammars/gnuplot.json @@ -43,7 +43,7 @@ ], "repository": { "ArrayDecl": { - "begin": "\\b(?x:\n(array)\\s+\n([A-Za-z_]\\w*)?\n\n\n)", + "begin": "\\b(?:(array)\\s+([A-Za-z_]\\w*)?)", "beginCaptures": { "1": { "name": "support.type.array.gnuplot" @@ -71,19 +71,19 @@ "BuiltinFunction": { "patterns": [ { - "match": "\\b(?x:\ndefined\n)\\b", + "match": "\\b(?:defined)\\b", "name": "invalid.deprecated.function.gnuplot" }, { - "match": "\\b(?x:\nabs |\nacos |\nacosh |\nairy |\narg |\nasin |\nasinh |\natan |\natan2 |\natanh |\nEllipticK |\nEllipticE |\nEllipticPi |\nbesj0 |\nbesj1 |\nbesy0 |\nbesy1 |\nceil |\ncos |\ncosh |\nerf |\nerfc |\nexp |\nexpint |\nfloor |\ngamma |\nibeta |\ninverf |\nigamma |\nimag |\ninvnorm |\nint |\nlambertw |\nlgamma |\nlog |\nlog10 |\nnorm |\nrand |\nreal |\nsgn |\nsin |\nsinh |\nsqrt |\ntan |\ntanh |\nvoigt |\ncerf |\ncdawson |\nfaddeeva |\nerfi |\nVP\n)\\b", + "match": "\\b(?:abs|acos|acosh|airy|arg|asin|asinh|atan|atan2|atanh|EllipticK|EllipticE|EllipticPi|besj0|besj1|besy0|besy1|ceil|cos|cosh|erf|erfc|exp|expint|floor|gamma|ibeta|inverf|igamma|imag|invnorm|int|lambertw|lgamma|log|log10|norm|rand|real|sgn|sin|sinh|sqrt|tan|tanh|voigt|cerf|cdawson|faddeeva|erfi|VP)\\b", "name": "support.function.math.gnuplot" }, { - "match": "\\b(?x:\ngprintf |\nsprintf |\nstrlen |\nstrstrt |\nsubstr |\nstrftime |\nstrptime |\nsystem |\nword |\nwords\n)\\b", + "match": "\\b(?:gprintf|sprintf|strlen|strstrt|substr|strftime|strptime|system|word|words)\\b", "name": "support.function.string.gnuplot" }, { - "match": "\\b(?x:\ncolumn |\ncolumnhead |\nexists |\nhsv2rgb |\nstringcolumn |\ntimecolumn |\ntm_hour |\ntm_mday |\ntm_min |\ntm_mon |\ntm_sec |\ntm_wday |\ntm_yday |\ntm_year |\ntime |\nvalid |\nvalue\n)\\b", + "match": "\\b(?:column|columnhead|exists|hsv2rgb|stringcolumn|timecolumn|tm_hour|tm_mday|tm_min|tm_mon|tm_sec|tm_wday|tm_yday|tm_year|time|valid|value)\\b", "name": "support.function.other.gnuplot" } ] @@ -128,7 +128,7 @@ "BuiltinVariable": { "patterns": [ { - "match": "\\b(?x:\nFIT_LIMIT |\nFIT_MAXITER |\nFIT_START_LAMBDA |\nFIT_LAMBDA_FACTOR |\nFIT_SKIP |\nFIT_INDEX\n)\\b", + "match": "\\b(?:FIT_LIMIT|FIT_MAXITER|FIT_START_LAMBDA|FIT_LAMBDA_FACTOR|FIT_SKIP|FIT_INDEX)\\b", "name": "invalid.deprecated.variable.gnuplot" }, { @@ -148,12 +148,12 @@ "Command": { "patterns": [ { - "begin": "\\b(?x:\nupdate\n)\\b", + "begin": "\\b(?:update)\\b", "end": "(?=(;|#|\\\\(?!\\n)|(?)?\n)\n\n)\n\\s+\n([^=]+\\s+)?\\w+\\s*\\(\n))", + "begin": "(?:(?<=;|^|{)(?=\\s*(?:(?:private|protected|public|native|synchronized|abstract|threadsafe|transient|static|final)|(?:def)|(?:(?:(?:void|boolean|byte|char|short|int|float|long|double)|(?:@?(?:[a-zA-Z]\\w*\\.)*[A-Z]+\\w*))[\\[\\]]*(?:<.*>)?))\\s+([^=]+\\s+)?\\w+\\s*\\())", "end": "}|(?=[^{])", "name": "meta.definition.method.groovy", "patterns": [ @@ -1321,7 +1321,7 @@ "applyEndPatternLast": 1, "patterns": [ { - "begin": "(?x:(?=\n(?:\n(?:private|protected|public|native|synchronized|abstract|threadsafe|transient|static|final)\n|\n(?:def)\n|\n(?:void|boolean|byte|char|short|int|float|long|double)\n|\n(?:(?:[a-z]\\w*\\.)*[A-Z]+\\w*)\n)\n\\s+\n[\\w\\d_<>\\[\\],\\s]+\n(?:=|$)\n\n))", + "begin": "(?:(?=(?:(?:private|protected|public|native|synchronized|abstract|threadsafe|transient|static|final)|(?:def)|(?:void|boolean|byte|char|short|int|float|long|double)|(?:(?:[a-z]\\w*\\.)*[A-Z]+\\w*))\\s+[\\w\\d_<>\\[\\],\\s]+(?:=|$)))", "end": ";|$", "name": "meta.definition.variable.groovy", "patterns": [ diff --git a/packages/tm-grammars/grammars/hack.json b/packages/tm-grammars/grammars/hack.json index a5d4262..1cd8e5d 100644 --- a/packages/tm-grammars/grammars/hack.json +++ b/packages/tm-grammars/grammars/hack.json @@ -166,7 +166,7 @@ "constants": { "patterns": [ { - "begin": "(?xi)\n(?=\n(\n(\\\\[a-z_][a-z_0-9]*\\\\[a-z_][a-z_0-9\\\\]*)\n|\n([a-z_][a-z_0-9]*\\\\[a-z_][a-z_0-9\\\\]*)\n)\n[^a-z_0-9\\\\]\n)", + "begin": "(?xi)\n(?=\n (\n (\\\\[a-z_][a-z_0-9]*\\\\[a-z_][a-z_0-9\\\\]*)\n |\n ([a-z_][a-z_0-9]*\\\\[a-z_][a-z_0-9\\\\]*)\n )\n [^a-z_0-9\\\\]\n)", "end": "(?i)([a-z_][a-z_0-9]*)?(?=[^a-z0-9_\\\\])", "endCaptures": { "1": { @@ -253,7 +253,7 @@ "name": "punctuation.definition.variable.php" } }, - "end": "(?xi)\n\\s*(?=,|\\)|$)", + "end": "(?xi)\n\\s*(?=,|\\)|$) # A closing parentheses (end of argument list) or a comma", "patterns": [ { "begin": "(=)", @@ -764,7 +764,7 @@ }, { "begin": "(?i)\\s*(?=[a-z_0-9\\\\])", - "end": "(?xi)\n(?:\n(?:\\s*(as)\\b\\s*([a-z_0-9]*)\\s*(?=,|;|$))|\n(?=,|;|$)\n)", + "end": "(?xi)\n(?:\n (?:\\s*(as)\\b\\s*([a-z_0-9]*)\\s*(?=,|;|$))|\n (?=,|;|$)\n)", "endCaptures": { "1": { "name": "keyword.other.use-as.php" @@ -931,7 +931,7 @@ "name": "punctuation.definition.variable.php" } }, - "match": "(?xi)\n([a-z_\\x{7f}-\\x{10ffff}][a-z0-9_\\x{7f}-\\x{10ffff}]*)\n((?:\\s*\\|\\s*[a-z_\\x{7f}-\\x{10ffff}][a-z0-9_\\x{7f}-\\x{10ffff}]*)*)\n\\s*\n((\\$+)[a-z_\\x{7f}-\\x{10ffff}][a-z0-9_\\x{7f}-\\x{10ffff}]*)" + "match": "(?xi)\n([a-z_\\x{7f}-\\x{10ffff}][a-z0-9_\\x{7f}-\\x{10ffff}]*) # Exception class\n((?:\\s*\\|\\s*[a-z_\\x{7f}-\\x{10ffff}][a-z0-9_\\x{7f}-\\x{10ffff}]*)*) # Optional additional exception classes\n\\s*\n((\\$+)[a-z_\\x{7f}-\\x{10ffff}][a-z0-9_\\x{7f}-\\x{10ffff}]*) # Variable" } ] }, @@ -1073,7 +1073,7 @@ "include": "#invoke-call" }, { - "begin": "(?xi)\n\\s*\n(?=\n[a-z_0-9$\\\\]+(::)\n(?:\n([a-z_][a-z_0-9]*)\\s*\\(\n|\n((\\$+)[a-z_\\x{7f}-\\x{ff}][a-z0-9_\\x{7f}-\\x{ff}]*)\n|\n([a-z_\\x{7f}-\\x{ff}][a-z0-9_\\x{7f}-\\x{ff}]*)\n)?\n)", + "begin": "(?xi)\n\\s*\n (?=\n [a-z_0-9$\\\\]+(::)\n (?:\n ([a-z_][a-z_0-9]*)\\s*\\(\n |\n ((\\$+)[a-z_\\x{7f}-\\x{ff}][a-z0-9_\\x{7f}-\\x{ff}]*)\n |\n ([a-z_\\x{7f}-\\x{ff}][a-z0-9_\\x{7f}-\\x{ff}]*)\n )?\n )", "end": "(::)(?:([A-Za-z_][A-Za-z_0-9]*)\\s*\\(|((\\$+)[a-zA-Z_\\x{7f}-\\x{ff}][a-zA-Z0-9_\\x{7f}-\\x{ff}]*)|([a-zA-Z_\\x{7f}-\\x{ff}][a-zA-Z0-9_\\x{7f}-\\x{ff}]*))?", "endCaptures": { "1": { @@ -1419,7 +1419,7 @@ "include": "#instantiation" }, { - "begin": "(?xi)\n\\s*\n(?=\n[a-z_0-9\\\\]+(::)\n([a-z_\\x{7f}-\\x{ff}][a-z0-9_\\x{7f}-\\x{ff}]*)?\n)", + "begin": "(?xi)\n\\s*\n(?=\n [a-z_0-9\\\\]+(::)\n ([a-z_\\x{7f}-\\x{ff}][a-z0-9_\\x{7f}-\\x{ff}]*)?\n)", "end": "(?i)(::)([a-z_\\x{7f}-\\x{ff}][a-z0-9_\\x{7f}-\\x{ff}]*)?", "endCaptures": { "1": { diff --git a/packages/tm-grammars/grammars/haskell.json b/packages/tm-grammars/grammars/haskell.json index f4d5e5d..31cf945 100644 --- a/packages/tm-grammars/grammars/haskell.json +++ b/packages/tm-grammars/grammars/haskell.json @@ -5,7 +5,6 @@ "hs-boot", "hsig" ], - "keyEquivalent": "^~H", "name": "haskell", "patterns": [ { @@ -137,7 +136,7 @@ "name": "keyword.other.class.haskell" } }, - "end": "(?x) # Detect end of class declaration:\n # 'where' keyword\n (?=(?\n \\( # Opening parenthesis\n (?:\n [^\\(\\)]* # Match non-parentheses\n | \\g # or recurse into further depth\n )*\n \\) # Closing parenthesis\n )\n )\n # Type inside balanced brackets\n | ('? # Optional promotion tick\n (?\n \\( # Opening bracket\n (?:\n [^\\[\\]]* # Match non-brackets\n | \\g # or recurse into further depth\n )*\n \\] # Closing bracket\n )\n )\n ) \n # Then either\n \\s*\n # - a symbolic infix constructor, or\n (?:(?\\((?:[^\\(\\)]*|\\g)*\\)))|('?(?\\((?:[^\\[\\]]*|\\g)*\\])))\\s*(?:(?|⇒)\n (?![\\p{S}\\p{P}&&[^(),;\\[\\]`{}_\"']])\n" + "match": "(.*)(?|⇒)(?![\\p{S}\\p{P}&&[^(),;\\[\\]`{}_\"']])" }, "cpp": { "captures": { @@ -806,7 +805,7 @@ "name": "keyword.other.deriving.strategy.$3.haskell" } }, - "end": "(?x) # Detect end of deriving statement\n # Decreasing indentation\n (?=\\}|;) # Explicit indentation\n |^(?! # Implicit indentation: end match on newline *unless* the new line is either:\n \\1\\s+\\S # - more indented, or\n | \\s* # - starts with whitespace, followed by:\n (?: $ # - the end of the line (i.e. empty line), or\n |\\{-[^@] # - the start of a block comment, or\n |--+ # - the start of a single-line comment.\n (?![\\p{S}\\p{P}&&[^(),;\\[\\]{}`_\"']]).*$) # non-symbol\n # The double dash may not be followed by other operator characters\n # (then it would be an operator, not a comment)\n )", + "end": "(?=\\}|;)|^(?!\\1\\s+\\S|\\s*(?:$|\\{-[^@]|--+(?![\\p{S}\\p{P}&&[^(),;\\[\\]{}`_\"']]).*$))", "name": "meta.deriving.haskell", "patterns": [ { @@ -881,7 +880,7 @@ ] } }, - "match": "(?x)\n (deriving)(?:\\s+(stock|newtype|anyclass))?\\s+\n ([\\p{Lu}\\p{Lt}][\\p{Ll}_\\p{Lu}\\p{Lt}\\p{Nd}']*)\n (\\s+(via)\\s+(.*)$)?\n", + "match": "(deriving)(?:\\s+(stock|newtype|anyclass))?\\s+([\\p{Lu}\\p{Lt}][\\p{Ll}_\\p{Lu}\\p{Lt}\\p{Nd}']*)(\\s+(via)\\s+(.*)$)?", "name": "meta.deriving.haskell" }, { @@ -910,7 +909,7 @@ "name": "keyword.other.pattern.haskell" } }, - "end": "(?x)\n # Data constructor\n ([\\p{Lu}\\p{Lt}][\\p{Ll}_\\p{Lu}\\p{Lt}\\p{Nd}']*)\n # Prefix form of symbolic constructor\n | (\\()\\s*(:[\\p{S}\\p{P}&&[^(),;\\[\\]`{}_\"']]+)\\s*(\\))", + "end": "([\\p{Lu}\\p{Lt}][\\p{Ll}_\\p{Lu}\\p{Lt}\\p{Nd}']*)|(\\()\\s*(:[\\p{S}\\p{P}&&[^(),;\\[\\]`{}_\"']]+)\\s*(\\))", "endCaptures": { "1": { "name": "constant.other.haskell" @@ -938,7 +937,7 @@ "name": "keyword.other.type.haskell" } }, - "end": "(?x)\n # Type name\n ([\\p{Lu}\\p{Lt}][\\p{Ll}_\\p{Lu}\\p{Lt}\\p{Nd}']*)\n # Prefix form of type operator\n | (\\()\\s*([\\p{S}\\p{P}&&[^(),;\\[\\]`{}_\"']]+)\\s*(\\))", + "end": "([\\p{Lu}\\p{Lt}][\\p{Ll}_\\p{Lu}\\p{Lt}\\p{Nd}']*)|(\\()\\s*([\\p{S}\\p{P}&&[^(),;\\[\\]`{}_\"']]+)\\s*(\\))", "endCaptures": { "1": { "name": "storage.type.haskell" @@ -988,7 +987,7 @@ "name": "keyword.other.$3.haskell" } }, - "end": "(?x) # Detect end of FFI block by decreasing indentation:\n (?=\\}|;) # Explicit indentation\n |^(?! # Implicit indentation: end match on newline *unless* the new line is either:\n \\1\\s+\\S # - more indented, or\n | \\s* # - starts with whitespace, followed by:\n (?: $ # - the end of the line (i.e. empty line), or\n |\\{-[^@] # - the start of a block comment, or\n |--+ # - the start of a single-line comment.\n (?![\\p{S}\\p{P}&&[^(),;\\[\\]{}`_\"']]).*$) # non-symbol\n # The double dash may not be followed by other operator characters\n # (then it would be an operator, not a comment)\n )\n", + "end": "(?=\\}|;)|^(?!\\1\\s+\\S|\\s*(?:$|\\{-[^@]|--+(?![\\p{S}\\p{P}&&[^(),;\\[\\]{}`_\"']]).*$))", "name": "meta.$3.foreign.haskell", "patterns": [ { @@ -1029,7 +1028,7 @@ "name": "entity.name.function.infix.haskell" } }, - "match": "(?x)\n \\b(?\n (?:\n [\\p{Ll}_][\\p{Ll}_\\p{Lu}\\p{Lt}\\p{Nd}']*\\#*\n | \\(\\s*\n (?!--+\\))\n [\\p{S}\\p{P}&&[^(),:;\\[\\]`{}_\"']]\n [\\p{S}\\p{P}&&[^(),;\\[\\]`{}_\"']]*\n \\s*\\)\n )\n (?:\\s*,\\s*\\g)?\n )\n \\s*(?(?:[\\p{Ll}_][\\p{Ll}_\\p{Lu}\\p{Lt}\\p{Nd}']*\\#*|\\(\\s*(?!--+\\))[\\p{S}\\p{P}&&[^(),:;\\[\\]`{}_\"']][\\p{S}\\p{P}&&[^(),;\\[\\]`{}_\"']]*\\s*\\))(?:\\s*,\\s*\\g)?)\\s*(?)\n ((<-|←)|(=)|(-<|↢)|(-<<|⤛))\n # non-symbolic character\n ([(),;\\[\\]`{}_\"']|[^\\p{S}\\p{P}])\n )\n # Decreasing indentation:\n |(?=\\}|;) # Explicit indentation\n |^(?! # Implicit indentation: end match on newline *unless* the new line is either:\n \\1\\s+\\S # - more indented, or\n | \\s* # - starts with whitespace, followed by:\n (?: $ # - the end of the line (i.e. empty line), or\n |\\{-[^@] # - the start of a block comment, or\n |--+ # - the start of a single-line comment.\n (?![\\p{S}\\p{P}&&[^(),;\\[\\]{}`_\"']]).*$) # non-symbol\n # The double dash may not be followed by other operator characters\n # (then it would be an operator, not a comment)\n )\n", + "end": "(?=(?|→)\n |(-<|↢)\n |(-<<|⤛)\n |(>-|⤚)\n |(>>-|⤜)\n |(∀)\n )\n (?![\\p{S}\\p{P}&&[^(),;\\[\\]`{}_\"'']])" + "match": "(?|→)|(-<|↢)|(-<<|⤛)|(>-|⤚)|(>>-|⤜)|(∀))(?![\\p{S}\\p{P}&&[^(),;\\[\\]`{}_\"'']])" }, { "captures": { @@ -1860,7 +1859,7 @@ "name": "keyword.operator.postfix.hash.haskell" } }, - "match": "(?x)\n (?<=[\\p{Ll}_\\p{Lu}\\p{Lt}\\p{Nd}\\p{S}\\p{P}&&[^\\#,;\\[`{]]) # Require closing characters\n (\\#+)\n (?![\\p{Ll}_\\p{Lu}\\p{Lt}\\p{Nd}\\p{S}\\p{P}&&[^),;\\]`}]]) # Disallow opening character" + "match": "(?<=[\\p{Ll}_\\p{Lu}\\p{Lt}\\p{Nd}\\p{S}\\p{P}&&[^\\#,;\\[`{]])(\\#+)(?![\\p{Ll}_\\p{Lu}\\p{Lt}\\p{Nd}\\p{S}\\p{P}&&[^),;\\]`}]])" }, { "captures": { @@ -1868,7 +1867,7 @@ "name": "keyword.operator.infix.tight.at.haskell" } }, - "match": "(?x)\n (?<=[\\p{Ll}_\\p{Lu}\\p{Lt}\\p{Nd}\\)\\}\\]]) # Require closing characters\n (@)\n (?=[\\p{Ll}_\\p{Lu}\\p{Lt}\\p{Nd}\\(\\[\\{]) # Require opening character" + "match": "(?<=[\\p{Ll}_\\p{Lu}\\p{Lt}\\p{Nd}\\)\\}\\]])(@)(?=[\\p{Ll}_\\p{Lu}\\p{Lt}\\p{Nd}\\(\\[\\{])" }, { "captures": { @@ -1888,7 +1887,7 @@ "name": "keyword.operator.prefix.double-dollar.haskell" } }, - "match": "(?x)\n (?)\n (?)\n (?\n| type(?=[\\s=])\n(?!\\s*=\\s*\n(\n''\n| \"\"\n| ('|\"|)\n(\ntext/\n(\njavascript(1\\.[0-5])?\n| x-javascript\n| jscript\n| livescript\n| (x-)?ecmascript\n| babel\n\n)\n| application/\n(\n(x-)?javascript\n| (x-)?ecmascript\n)\n| module\n)\n[\\s\"'>]\n)\n)\n)\n)", + "end": "(?ix:\n\t\t\t\t\t\t\t\t\t\t\t\t(?=>\t\t\t\t\t\t\t\t\t\t\t# Tag without type attribute\n\t\t\t\t\t\t\t\t\t\t\t\t | type(?=[\\s=])\n\t\t\t\t\t\t\t\t\t\t\t\t \t(?!\\s*=\\s*\n\t\t\t\t\t\t\t\t\t\t\t\t\t\t(\n\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t''\t\t\t\t\t\t\t\t# Empty\n\t\t\t\t\t\t\t\t\t\t\t\t\t\t | \"\"\t\t\t\t\t\t\t\t\t# Values\n\t\t\t\t\t\t\t\t\t\t\t\t\t\t | ('|\"|)\n\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t(\n\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\ttext/\t\t\t\t\t\t\t# Text mime-types\n\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t(\n\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\tjavascript(1\\.[0-5])?\n\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t | x-javascript\n\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t | jscript\n\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t | livescript\n\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t | (x-)?ecmascript\n\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t | babel\t\t\t\t\t\t# Javascript variant currently\n\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t \t\t\t\t\t\t\t\t# recognized as such\n\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t \t)\n\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t | application/\t\t\t\t\t# Application mime-types\n\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t \t(\n\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t(x-)?javascript\n\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t | (x-)?ecmascript\n\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t)\n\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t | module\n\t\t\t\t\t\t\t\t\t\t\t\t\t\t \t)\n\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t[\\s\"'>]\n\t\t\t\t\t\t\t\t\t\t\t\t\t\t)\n\t\t\t\t\t\t\t\t\t\t\t\t\t)\n\t\t\t\t\t\t\t\t\t\t\t\t)\n\t\t\t\t\t\t\t\t\t\t\t)", "name": "meta.tag.metadata.script.start.html", "patterns": [ { @@ -1944,7 +1944,7 @@ ] }, { - "begin": "(?ix:\n(?=\ntype\\s*=\\s*\n('|\"|)\ntext/\n(\nx-handlebars\n| (x-(handlebars-)?|ng-)?template\n| html\n)\n[\\s\"'>]\n)\n)", + "begin": "(?ix:\n\t\t\t\t\t\t\t\t\t\t\t\t(?=\n\t\t\t\t\t\t\t\t\t\t\t\t\ttype\\s*=\\s*\n\t\t\t\t\t\t\t\t\t\t\t\t\t('|\"|)\n\t\t\t\t\t\t\t\t\t\t\t\t\ttext/\n\t\t\t\t\t\t\t\t\t\t\t\t\t(\n\t\t\t\t\t\t\t\t\t\t\t\t\t\tx-handlebars\n\t\t\t\t\t\t\t\t\t\t\t\t\t | (x-(handlebars-)?|ng-)?template\n\t\t\t\t\t\t\t\t\t\t\t\t\t | html\n\t\t\t\t\t\t\t\t\t\t\t\t\t)\n\t\t\t\t\t\t\t\t\t\t\t\t\t[\\s\"'>]\n\t\t\t\t\t\t\t\t\t\t\t\t)\n\t\t\t\t\t\t\t\t\t\t\t)", "end": "((<))(?=/(?i:script))", "endCaptures": { "0": { diff --git a/packages/tm-grammars/grammars/imba.json b/packages/tm-grammars/grammars/imba.json index d8d21ad..9694477 100644 --- a/packages/tm-grammars/grammars/imba.json +++ b/packages/tm-grammars/grammars/imba.json @@ -337,7 +337,7 @@ ] }, { - "begin": "(?xi) (?\"(?:(?:\\*(?!/))|(?:\\\\(?!\"))|[^*\\\\])*?\"|'(?:(?:\\*(?!/))|(?:\\\\(?!'))|[^*\\\\])*?'|\\[\\s(?:(?:\\*(?!/))|[^*])*?\\]|(?:(?:\\*(?!/))|\\s(?!\\s*\\])|\\[.*?(?:\\]|(?=\\*/))|[^*\\s\\[\\]])*)*))?\\s*(?:(\\])((?:[^*\\s]|\\*[^\\s/])+)?|(?=\\*/))", + "match": "(\\[)\\s*[\\w$]+(?:(?:\\[\\])?\\.[\\w$]+)*(?:\\s*(=)\\s*((?>\"(?:(?:\\*(?!/))|(?:\\\\(?!\"))|[^*\\\\])*?\"|'(?:(?:\\*(?!/))|(?:\\\\(?!'))|[^*\\\\])*?'|\\[(?:(?:\\*(?!/))|[^*])*?\\]|(?:(?:\\*(?!/))|\\s(?!\\s*\\])|\\[.*?(?:\\]|(?=\\*/))|[^*\\s\\[\\]])*)*))?\\s*(?:(\\])((?:[^*\\s]|\\*[^\\s/])+)?|(?=\\*/))", "name": "variable.other.jsdoc" } ] diff --git a/packages/tm-grammars/grammars/javascript.json b/packages/tm-grammars/grammars/javascript.json index 9cf38ef..64ec4a2 100644 --- a/packages/tm-grammars/grammars/javascript.json +++ b/packages/tm-grammars/grammars/javascript.json @@ -1156,7 +1156,7 @@ "name": "invalid.illegal.syntax.jsdoc" } }, - "match": "(\\[)\\s*[\\w$]+(?:(?:\\[\\])?\\.[\\w$]+)*(?:\\s*(=)\\s*((?>\"(?:(?:\\*(?!/))|(?:\\\\(?!\"))|[^*\\\\])*?\"|'(?:(?:\\*(?!/))|(?:\\\\(?!'))|[^*\\\\])*?'|\\[\\s(?:(?:\\*(?!/))|[^*])*?\\]|(?:(?:\\*(?!/))|\\s(?!\\s*\\])|\\[.*?(?:\\]|(?=\\*/))|[^*\\s\\[\\]])*)*))?\\s*(?:(\\])((?:[^*\\s]|\\*[^\\s/])+)?|(?=\\*/))", + "match": "(\\[)\\s*[\\w$]+(?:(?:\\[\\])?\\.[\\w$]+)*(?:\\s*(=)\\s*((?>\"(?:(?:\\*(?!/))|(?:\\\\(?!\"))|[^*\\\\])*?\"|'(?:(?:\\*(?!/))|(?:\\\\(?!'))|[^*\\\\])*?'|\\[(?:(?:\\*(?!/))|[^*])*?\\]|(?:(?:\\*(?!/))|\\s(?!\\s*\\])|\\[.*?(?:\\]|(?=\\*/))|[^*\\s\\[\\]])*)*))?\\s*(?:(\\])((?:[^*\\s]|\\*[^\\s/])+)?|(?=\\*/))", "name": "variable.other.jsdoc" } ] diff --git a/packages/tm-grammars/grammars/json5.json b/packages/tm-grammars/grammars/json5.json index 7c0a18d..91739f0 100644 --- a/packages/tm-grammars/grammars/json5.json +++ b/packages/tm-grammars/grammars/json5.json @@ -179,7 +179,7 @@ "name": "string.quoted.json5", "patterns": [ { - "match": "(?x:\n\\\\\n(?:\n[\"\\\\/bfnrt]\n|\nu\n[0-9a-fA-F]{4}\n)\n)", + "match": "(?:\\\\(?:[\"\\\\/bfnrt]|u[0-9a-fA-F]{4}))", "name": "constant.character.escape.json5" }, { @@ -204,7 +204,7 @@ "name": "string.quoted.json5", "patterns": [ { - "match": "(?x:\n\\\\\n(?:\n[\"\\\\/bfnrt]\n|\nu\n[0-9a-fA-F]{4}\n)\n)", + "match": "(?:\\\\(?:[\"\\\\/bfnrt]|u[0-9a-fA-F]{4}))", "name": "constant.character.escape.json5" }, { diff --git a/packages/tm-grammars/grammars/jsx.json b/packages/tm-grammars/grammars/jsx.json index e9daa6c..b4aa114 100644 --- a/packages/tm-grammars/grammars/jsx.json +++ b/packages/tm-grammars/grammars/jsx.json @@ -1156,7 +1156,7 @@ "name": "invalid.illegal.syntax.jsdoc" } }, - "match": "(\\[)\\s*[\\w$]+(?:(?:\\[\\])?\\.[\\w$]+)*(?:\\s*(=)\\s*((?>\"(?:(?:\\*(?!/))|(?:\\\\(?!\"))|[^*\\\\])*?\"|'(?:(?:\\*(?!/))|(?:\\\\(?!'))|[^*\\\\])*?'|\\[\\s(?:(?:\\*(?!/))|[^*])*?\\]|(?:(?:\\*(?!/))|\\s(?!\\s*\\])|\\[.*?(?:\\]|(?=\\*/))|[^*\\s\\[\\]])*)*))?\\s*(?:(\\])((?:[^*\\s]|\\*[^\\s/])+)?|(?=\\*/))", + "match": "(\\[)\\s*[\\w$]+(?:(?:\\[\\])?\\.[\\w$]+)*(?:\\s*(=)\\s*((?>\"(?:(?:\\*(?!/))|(?:\\\\(?!\"))|[^*\\\\])*?\"|'(?:(?:\\*(?!/))|(?:\\\\(?!'))|[^*\\\\])*?'|\\[(?:(?:\\*(?!/))|[^*])*?\\]|(?:(?:\\*(?!/))|\\s(?!\\s*\\])|\\[.*?(?:\\]|(?=\\*/))|[^*\\s\\[\\]])*)*))?\\s*(?:(\\])((?:[^*\\s]|\\*[^\\s/])+)?|(?=\\*/))", "name": "variable.other.jsdoc" } ] diff --git a/packages/tm-grammars/grammars/markdown.json b/packages/tm-grammars/grammars/markdown.json index b24b7af..e0e8031 100644 --- a/packages/tm-grammars/grammars/markdown.json +++ b/packages/tm-grammars/grammars/markdown.json @@ -65,7 +65,7 @@ "while": "(^|\\G)\\s*(>) ?" }, "bold": { - "begin": "(?(\\*\\*(?=\\w)|(?]*+>|(?`+)([^`]|(?!(?(?!`))`)*+\\k|\\\\[\\\\`*_{}\\[\\]()#.!+\\->]?+|\\[((?[^\\[\\]\\\\]|\\\\.|\\[\\s\\g*+\\s\\])*+\\](([\\s]?\\[[^\\]]*+\\])|(\\([\\s\\t]*+?[\\s\\t]*+((?['\"])(.*?)\\k<title>)?\\))))|(?!(?<=\\S)\\k<open>).)++(?<=\\S)(?=__\\b|\\*\\*)\\k<open>)", + "begin": "(?<open>(\\*\\*(?=\\w)|(?<!\\w)\\*\\*|(?<!\\w)\\b__))(?=\\S)(?=(<[^>]*+>|(?<raw>`+)([^`]|(?!(?<!`)\\k<raw>(?!`))`)*+\\k<raw>|\\\\[\\\\`*_{}\\[\\]()#.!+\\->]?+|\\[((?<square>[^\\[\\]\\\\]|\\\\.|\\[\\g<square>*+\\])*+\\](([ ]?\\[[^\\]]*+\\])|(\\([ \\t]*+<?(.*?)>?[ \\t]*+((?<title>['\"])(.*?)\\k<title>)?\\))))|(?!(?<=\\S)\\k<open>).)++(?<=\\S)(?=__\\b|\\*\\*)\\k<open>)", "captures": { "1": { "name": "punctuation.definition.bold.markdown" @@ -2502,7 +2502,7 @@ "name": "punctuation.definition.link.markdown" } }, - "match": "(\\!\\[)((?<square>[^\\[\\]\\\\]|\\\\.|\\[\\g<square>*+\\])*+)(\\])(\\()[\\s\\t]*((<)((?:\\\\[<>]|[^<>\\n])*)(>)|((?<url>(?>[^\\s()]+)|\\(\\g<url>*\\))*))[\\s\\t]*(?:((\\().+?(\\)))|((\").+?(\"))|((').+?(')))?\\s*(\\))", + "match": "(\\!\\[)((?<square>[^\\[\\]\\\\]|\\\\.|\\[\\g<square>*+\\])*+)(\\])(\\()[ \\t]*((<)((?:\\\\[<>]|[^<>\\n])*)(>)|((?<url>(?>[^\\s()]+)|\\(\\g<url>*\\))*))[ \\t]*(?:((\\().+?(\\)))|((\").+?(\"))|((').+?(')))?\\s*(\\))", "name": "meta.image.inline.markdown" }, "image-ref": { @@ -2579,7 +2579,7 @@ ] }, "italic": { - "begin": "(?<open>(\\*(?=\\w)|(?<!\\w)\\*|(?<!\\w)\\b_))(?=\\S)(?=(<[^>]*+>|(?<raw>`+)([^`]|(?!(?<!`)\\k<raw>(?!`))`)*+\\k<raw>|\\\\[\\\\`*_{}\\[\\]()#.!+\\->]?+|\\[((?<square>[^\\[\\]\\\\]|\\\\.|\\[\\s\\g<square>*+\\s\\])*+\\](([\\s]?\\[[^\\]]*+\\])|(\\([\\s\\t]*+<?(.*?)>?[\\s\\t]*+((?<title>['\"])(.*?)\\k<title>)?\\))))|\\k<open>\\k<open>|(?!(?<=\\S)\\k<open>).)++(?<=\\S)(?=_\\b|\\*)\\k<open>)", + "begin": "(?<open>(\\*(?=\\w)|(?<!\\w)\\*|(?<!\\w)\\b_))(?=\\S)(?=(<[^>]*+>|(?<raw>`+)([^`]|(?!(?<!`)\\k<raw>(?!`))`)*+\\k<raw>|\\\\[\\\\`*_{}\\[\\]()#.!+\\->]?+|\\[((?<square>[^\\[\\]\\\\]|\\\\.|\\[\\g<square>*+\\])*+\\](([ ]?\\[[^\\]]*+\\])|(\\([ \\t]*+<?(.*?)>?[ \\t]*+((?<title>['\"])(.*?)\\k<title>)?\\))))|\\k<open>\\k<open>|(?!(?<=\\S)\\k<open>).)++(?<=\\S)(?=_\\b|\\*)\\k<open>)", "captures": { "1": { "name": "punctuation.definition.italic.markdown" @@ -2696,7 +2696,7 @@ "name": "string.other.link.description.title.markdown" } }, - "match": "\\s*(\\[)([^]]+?)(\\])(:)[\\s\\t]*(?:(<)((?:\\\\[<>]|[^<>\\n])*)(>)|(\\S+?))[\\s\\t]*(?:((\\().+?(\\)))|((\").+?(\"))|((').+?(')))?\\s*$", + "match": "\\s*(\\[)([^]]+?)(\\])(:)[ \\t]*(?:(<)((?:\\\\[<>]|[^<>\\n])*)(>)|(\\S+?))[ \\t]*(?:((\\().+?(\\)))|((\").+?(\"))|((').+?(')))?\\s*$", "name": "meta.link.reference.def.markdown" }, "link-email": { @@ -2803,7 +2803,7 @@ "name": "punctuation.definition.link.markdown" } }, - "match": "(\\[)((?<square>[^\\[\\]\\\\]|\\\\.|\\[\\g<square>*+\\])*+)(\\])(\\()[\\s\\t]*((<)((?:\\\\[<>]|[^<>\\n])*)(>)|((?<url>(?>[^\\s()]+)|\\(\\g<url>*\\))*))[\\s\\t]*(?:((\\()[^()]*(\\)))|((\")[^\"]*(\"))|((')[^']*(')))?\\s*(\\))", + "match": "(\\[)((?<square>[^\\[\\]\\\\]|\\\\.|\\[\\g<square>*+\\])*+)(\\])(\\()[ \\t]*((<)((?:\\\\[<>]|[^<>\\n])*)(>)|((?<url>(?>[^\\s()]+)|\\(\\g<url>*\\))*))[ \\t]*(?:((\\()[^()]*(\\)))|((\")[^\"]*(\"))|((')[^']*(')))?\\s*(\\))", "name": "meta.link.inline.markdown" }, "link-ref": { diff --git a/packages/tm-grammars/grammars/matlab.json b/packages/tm-grammars/grammars/matlab.json index da374ca..14833e3 100644 --- a/packages/tm-grammars/grammars/matlab.json +++ b/packages/tm-grammars/grammars/matlab.json @@ -617,7 +617,7 @@ } }, "comment": " 1 2 3 4 5 6 7 8 9 10 11 12 13 14 1516 17 18 19 20 21 22 23 24 25 26 27 28", - "match": "^\\s*((?# A> )([b-df-hk-moq-zA-HJ-MO-Z]\\w*|a|an|a([A-Za-mo-z0-9_]\\w*|n[A-Za-rt-z0-9_]\\w*|ns\\w+)|e|ep|e([A-Za-oq-z0-9_]\\w*|p[A-Za-rt-z0-9_]\\w*|ps\\w+)|in|i([A-Za-mo-z0-9_]\\w*|n[A-Za-eg-z0-9_]\\w*|nf\\w+)|I|In|I([A-Za-mo-z0-9_]\\w*|n[A-Za-eg-z0-9_]\\w*|nf\\w+)|j\\w+|N|Na|N([A-Zb-z0-9_]\\w*|a[A-MO-Za-z0-9_]\\w*|aN\\w+)|n|na|nar|narg|nargi|nargo|nargou|n([A-Zb-z0-9_]\\w*|a([A-Za-mo-qs-z0-9_]\\w*|n\\w+|r([A-Za-fh-z0-9_]\\w*|g([A-Za-hj-nq-z0-9_]\\w*|i([A-Za-mo-z0-9_]\\w*|n\\w+)|o([A-Za-tv-z0-9_]\\w*|u([A-Za-su-z]\\w*|t\\w+))))))|p|p[A-Za-hj-z0-9_]\\w*|pi\\w+)(?# <A )\\s+(((?# B> )([^\\s;,%()=.{&|~<>:+\\-*/\\\\@^'\"]|(?=')|(?=\"))(?# <B )|(?# C> )(\\.\\^|\\.\\*|\\./|\\.\\\\|\\.'|\\.\\(|&&|==|\\|\\||&(?=[^&])|\\|(?=[^\\|])|~=|<=|>=|~(?!=)|<(?!=)|>(?!=)|:|\\+|-|\\*|/|\\\\|@|\\^)(?# <C )(?# D> )([^\\s]|\\s*(?=%)|\\s+$|\\s+(,|;|\\)|}|\\]|&|\\||<|>|=|:|\\*|/|\\\\|\\^|@|(\\.[^\\d.]|\\.\\.[^.])))(?# <D )|(?# E> )(\\.[^^*/\\\\'(\\sA-Za-z])(?# <E ))(?# F> )([^%]|'[^']*'|\"[^\"]*\")*(?# <F )|(?# X> )(\\.(?=\\s)|\\.[A-Za-z]|(?={))(?# <X )(?# Y> )([^(=\\'\"%]|==|'[^']*'|\"[^\"]*\"|\\(|\\([^)%]*\\)|\\[|\\[[^\\]%]*\\]|{|{[^}%]*})*(\\.\\.\\.[^%]*)?((?=%)|$)(?# <Y )))(%.*)?$" + "match": "^\\s*(([b-df-hk-moq-zA-HJ-MO-Z]\\w*|a|an|a([A-Za-mo-z0-9_]\\w*|n[A-Za-rt-z0-9_]\\w*|ns\\w+)|e|ep|e([A-Za-oq-z0-9_]\\w*|p[A-Za-rt-z0-9_]\\w*|ps\\w+)|in|i([A-Za-mo-z0-9_]\\w*|n[A-Za-eg-z0-9_]\\w*|nf\\w+)|I|In|I([A-Za-mo-z0-9_]\\w*|n[A-Za-eg-z0-9_]\\w*|nf\\w+)|j\\w+|N|Na|N([A-Zb-z0-9_]\\w*|a[A-MO-Za-z0-9_]\\w*|aN\\w+)|n|na|nar|narg|nargi|nargo|nargou|n([A-Zb-z0-9_]\\w*|a([A-Za-mo-qs-z0-9_]\\w*|n\\w+|r([A-Za-fh-z0-9_]\\w*|g([A-Za-hj-nq-z0-9_]\\w*|i([A-Za-mo-z0-9_]\\w*|n\\w+)|o([A-Za-tv-z0-9_]\\w*|u([A-Za-su-z]\\w*|t\\w+))))))|p|p[A-Za-hj-z0-9_]\\w*|pi\\w+)\\s+((([^\\s;,%()=.{&|~<>:+\\-*/\\\\@^'\"]|(?=')|(?=\"))|(\\.\\^|\\.\\*|\\./|\\.\\\\|\\.'|\\.\\(|&&|==|\\|\\||&(?=[^&])|\\|(?=[^\\|])|~=|<=|>=|~(?!=)|<(?!=)|>(?!=)|:|\\+|-|\\*|/|\\\\|@|\\^)([^\\s]|\\s*(?=%)|\\s+$|\\s+(,|;|\\)|}|\\]|&|\\||<|>|=|:|\\*|/|\\\\|\\^|@|(\\.[^\\d.]|\\.\\.[^.])))|(\\.[^^*/\\\\'(\\sA-Za-z]))([^%]|'[^']*'|\"[^\"]*\")*|(\\.(?=\\s)|\\.[A-Za-z]|(?={))([^(=\\'\"%]|==|'[^']*'|\"[^\"]*\"|\\(|\\([^)%]*\\)|\\[|\\[[^\\]%]*\\]|{|{[^}%]*})*(\\.\\.\\.[^%]*)?((?=%)|$)))(%.*)?$" }, "comment_block": { "begin": "(^[\\s]*)%\\{[^\\n\\S]*+\\n", @@ -742,7 +742,7 @@ "function": { "patterns": [ { - "begin": "(^\\s*)(function)\\s+(?:(?:(\\[)\\s([^\\]]*)(\\])|([a-zA-Z][a-zA-Z0-9_]*))\\s*=\\s*)?([a-zA-Z][a-zA-Z0-9_]*(\\.[a-zA-Z][a-zA-Z0-9_]*)*)\\s*", + "begin": "(^\\s*)(function)\\s+(?:(?:(\\[)([^\\]]*)(\\])|([a-zA-Z][a-zA-Z0-9_]*))\\s*=\\s*)?([a-zA-Z][a-zA-Z0-9_]*(\\.[a-zA-Z][a-zA-Z0-9_]*)*)\\s*", "beginCaptures": { "2": { "name": "storage.type.function.matlab" diff --git a/packages/tm-grammars/grammars/mojo.json b/packages/tm-grammars/grammars/mojo.json index 92c880d..71d507c 100644 --- a/packages/tm-grammars/grammars/mojo.json +++ b/packages/tm-grammars/grammars/mojo.json @@ -91,7 +91,7 @@ ] }, "builtin-types": { - "match": "(?<!\\.)\\b(__mlir_attr|__mlir_op|__mlir_type|bool|bytearray|bytes|classmethod|complex|dict|float|frozenset|int|list|object|property|set|slice|staticmethod|str|tuple|type(?#Although'super'isnotatype,it'srelatedtotypes,andisspecialenoughtobehighlighteddifferentlyfromotherbuilt-ins)|super)\\b", + "match": "(?<!\\.)\\b(__mlir_attr|__mlir_op|__mlir_type|bool|bytearray|bytes|classmethod|complex|dict|float|frozenset|int|list|object|property|set|slice|staticmethod|str|tuple|type|super)\\b", "name": "support.type.python" }, "call-wrapper-inheritance": { @@ -227,7 +227,7 @@ "comments": { "patterns": [ { - "begin": "(?:\\#\\s*(type:)\\s*+(?#wewant`\\s*+`whichispossessivequantifiersincewedonotactuallywanttobacktrackwhenmatchingwhitespacehere)(?!$|\\#))", + "begin": "(?:\\#\\s*(type:)\\s*+(?!$|\\#))", "beginCaptures": { "0": { "name": "meta.typehint.comment.python" @@ -394,7 +394,7 @@ "double-one-regexp-character-set": { "patterns": [ { - "match": "\\[\\s\\^?\\s\\](?!.*?\\])" + "match": "\\[\\^?\\](?!.*?\\])" }, { "begin": "(\\[)(\\^)?(\\])?", @@ -695,7 +695,7 @@ "double-three-regexp-character-set": { "patterns": [ { - "match": "\\[\\s\\^?\\s\\](?!.*?\\])" + "match": "\\[\\^?\\](?!.*?\\])" }, { "begin": "(\\[)(\\^)?(\\])?", @@ -1360,7 +1360,7 @@ ] }, "fstring-multi-core": { - "match": "(.+?)((?#.*and.*?inmulti-linematchneedspecialhandlingofnewlinesotherwiseSublimeTextandAtomwillmatchslightlydifferently.Theguardfornewlineshastobeseparatefromthelookaheadbecauseofspecial$matchingrule.)($\\n?)|(?=[\\\\\\}\\{]|'''|\"\"\"))(?#duetohowmultilineregexpsarematchedweneedaspecialcaseformatchinganewlinecharacter)|\\n", + "match": "(.+?)(($\\n?)|(?=[\\\\\\}\\{]|'''|\"\"\"))|\\n", "name": "string.interpolated.python string.quoted.multi.python" }, "fstring-normf-quoted-multi-line": { @@ -1450,7 +1450,7 @@ ] }, "fstring-raw-multi-core": { - "match": "(.+?)((?#.*and.*?inmulti-linematchneedspecialhandlingofnewlinesotherwiseSublimeTextandAtomwillmatchslightlydifferently.Theguardfornewlineshastobeseparatefromthelookaheadbecauseofspecial$matchingrule.)($\\n?)|(?=[\\\\\\}\\{]|'''|\"\"\"))(?#duetohowmultilineregexpsarematchedweneedaspecialcaseformatchinganewlinecharacter)|\\n", + "match": "(.+?)(($\\n?)|(?=[\\\\\\}\\{]|'''|\"\"\"))|\\n", "name": "string.interpolated.python string.quoted.raw.multi.python" }, "fstring-raw-quoted-multi-line": { @@ -1524,7 +1524,7 @@ ] }, "fstring-raw-single-core": { - "match": "(.+?)((?#.*and.*?inmulti-linematchneedspecialhandlingofnewlinesotherwiseSublimeTextandAtomwillmatchslightlydifferently.Theguardfornewlineshastobeseparatefromthelookaheadbecauseofspecial$matchingrule.)($\\n?)|(?=[\\\\\\}\\{]|(['\"])|((?<!\\\\)\\n)))(?#duetohowmultilineregexpsarematchedweneedaspecialcaseformatchinganewlinecharacter)|\\n", + "match": "(.+?)(($\\n?)|(?=[\\\\\\}\\{]|(['\"])|((?<!\\\\)\\n)))|\\n", "name": "string.interpolated.python string.quoted.raw.single.python" }, "fstring-single-brace": { @@ -1551,7 +1551,7 @@ ] }, "fstring-single-core": { - "match": "(.+?)((?#.*and.*?inmulti-linematchneedspecialhandlingofnewlinesotherwiseSublimeTextandAtomwillmatchslightlydifferently.Theguardfornewlineshastobeseparatefromthelookaheadbecauseofspecial$matchingrule.)($\\n?)|(?=[\\\\\\}\\{]|(['\"])|((?<!\\\\)\\n)))(?#duetohowmultilineregexpsarematchedweneedaspecialcaseformatchinganewlinecharacter)|\\n", + "match": "(.+?)(($\\n?)|(?=[\\\\\\}\\{]|(['\"])|((?<!\\\\)\\n)))|\\n", "name": "string.interpolated.python string.quoted.single.python" }, "fstring-terminator-multi": { @@ -1573,7 +1573,7 @@ "name": "storage.type.format.python" } }, - "match": "((?:=?)(?:![rsa])?)(:\\w?[<>=^]?[-+\\s]?\\#?\\d*,?(\\.\\d+)?[bcdeEfFgGnosxX%]?)(?=})" + "match": "((?:=?)(?:![rsa])?)(:\\w?[<>=^]?[-+ ]?\\#?\\d*,?(\\.\\d+)?[bcdeEfFgGnosxX%]?)(?=})" }, { "include": "#fstring-terminator-multi-tail" @@ -1651,7 +1651,7 @@ "name": "storage.type.format.python" } }, - "match": "((?:=?)(?:![rsa])?)(:\\w?[<>=^]?[-+\\s]?\\#?\\d*,?(\\.\\d+)?[bcdeEfFgGnosxX%]?)(?=})" + "match": "((?:=?)(?:![rsa])?)(:\\w?[<>=^]?[-+ ]?\\#?\\d*,?(\\.\\d+)?[bcdeEfFgGnosxX%]?)(?=})" }, { "include": "#fstring-terminator-single-tail" @@ -2174,7 +2174,7 @@ "name": "punctuation.separator.continuation.line.python" } }, - "end": "(?=^\\s*$)|(?!(\\s*[rR]?(\\'\\'\\'|\\\"\\\"\\\"|\\'|\\\"))|(\\G$)(?#'\\G'isnecessaryforST))", + "end": "(?=^\\s*$)|(?!(\\s*[rR]?(\\'\\'\\'|\\\"\\\"\\\"|\\'|\\\"))|(\\G$))", "patterns": [ { "include": "#regexp" @@ -2495,7 +2495,7 @@ "name": "keyword.operator.assignment.python" } }, - "match": "\\b(?<!\\.)(?:(and|or|not|in|is)(?#1)|(for|if|else|await|(?:yield(?:\\s+from)?))(?#2))(?!\\s*:)\\b|(<<|>>|&|\\||\\^|~)(?#3)|(\\*\\*|\\*|\\+|-|%|//|/|@)(?#4)|(!=|==|>=|<=|<|>)(?#5)|(:=)(?#6)" + "match": "\\b(?<!\\.)(?:(and|or|not|in|is)|(for|if|else|await|(?:yield(?:\\s+from)?)))(?!\\s*:)\\b|(<<|>>|&|\\||\\^|~)|(\\*\\*|\\*|\\+|-|%|//|/|@)|(!=|==|>=|<=|<|>)|(:=)" }, "parameter-special": { "captures": { @@ -2903,7 +2903,7 @@ "single-one-regexp-character-set": { "patterns": [ { - "match": "\\[\\s\\^?\\s\\](?!.*?\\])" + "match": "\\[\\^?\\](?!.*?\\])" }, { "begin": "(\\[)(\\^)?(\\])?", @@ -3204,7 +3204,7 @@ "single-three-regexp-character-set": { "patterns": [ { - "match": "\\[\\s\\^?\\s\\](?!.*?\\])" + "match": "\\[\\^?\\](?!.*?\\])" }, { "begin": "(\\[)(\\^)?(\\])?", @@ -3733,7 +3733,7 @@ "name": "storage.type.format.python" } }, - "match": "({{|}}|(?:{\\w*(\\.[A-Za-z_]\\w*|\\[[^\\]'\"]+\\])*(![rsa])?(:\\w?[<>=^]?[-+\\s]?\\#?\\d*,?(\\.\\d+)?[bcdeEfFgGnosxX%]?)?}))", + "match": "({{|}}|(?:{\\w*(\\.[A-Za-z_]\\w*|\\[[^\\]'\"]+\\])*(![rsa])?(:\\w?[<>=^]?[-+ ]?\\#?\\d*,?(\\.\\d+)?[bcdeEfFgGnosxX%]?)?}))", "name": "meta.format.brace.python" }, { @@ -3775,7 +3775,7 @@ "name": "constant.character.format.placeholder.other.python" } }, - "match": "(%(\\([\\w\\s]*\\))?[-+#0\\s]*(\\d+|\\*)?(\\.(\\d+|\\*))?([hlL])?[diouxXeEfFgGcrsab%])", + "match": "(%(\\([\\w\\s]*\\))?[-+#0 ]*(\\d+|\\*)?(\\.(\\d+|\\*))?([hlL])?[diouxXeEfFgGcrsab%])", "name": "meta.format.percent.python" }, "string-line-continuation": { diff --git a/packages/tm-grammars/grammars/objective-c.json b/packages/tm-grammars/grammars/objective-c.json index d44582c..21dbb82 100644 --- a/packages/tm-grammars/grammars/objective-c.json +++ b/packages/tm-grammars/grammars/objective-c.json @@ -316,7 +316,7 @@ "include": "#string_escaped_char" }, { - "match": "%(\\d+\\$)?[#0\\-\\s+']*((-?\\d+)|\\*(-?\\d+\\$)?)?(\\.((-?\\d+)|\\*(-?\\d+\\$)?)?)?[@]", + "match": "%(\\d+\\$)?[#0\\- +']*((-?\\d+)|\\*(-?\\d+\\$)?)?(\\.((-?\\d+)|\\*(-?\\d+\\$)?)?)?[@]", "name": "constant.other.placeholder.objc" }, { @@ -3732,7 +3732,7 @@ "string_placeholder": { "patterns": [ { - "match": "%(\\d+\\$)?[#0\\-\\s+']*[,;:_]?((-?\\d+)|\\*(-?\\d+\\$)?)?(\\.((-?\\d+)|\\*(-?\\d+\\$)?)?)?(hh|h|ll|l|j|t|z|q|L|vh|vl|v|hv|hl)?[diouxXDOUeEfFgGaACcSspn%]", + "match": "%(\\d+\\$)?[#0\\- +']*[,;:_]?((-?\\d+)|\\*(-?\\d+\\$)?)?(\\.((-?\\d+)|\\*(-?\\d+\\$)?)?)?(hh|h|ll|l|j|t|z|q|L|vh|vl|v|hv|hl)?[diouxXDOUeEfFgGaACcSspn%]", "name": "constant.other.placeholder.objc" }, { diff --git a/packages/tm-grammars/grammars/objective-cpp.json b/packages/tm-grammars/grammars/objective-cpp.json index c7950d2..8006bef 100644 --- a/packages/tm-grammars/grammars/objective-cpp.json +++ b/packages/tm-grammars/grammars/objective-cpp.json @@ -319,7 +319,7 @@ "include": "#string_escaped_char" }, { - "match": "%(\\d+\\$)?[#0\\-\\s+']*((-?\\d+)|\\*(-?\\d+\\$)?)?(\\.((-?\\d+)|\\*(-?\\d+\\$)?)?)?[@]", + "match": "%(\\d+\\$)?[#0\\- +']*((-?\\d+)|\\*(-?\\d+\\$)?)?(\\.((-?\\d+)|\\*(-?\\d+\\$)?)?)?[@]", "name": "constant.other.placeholder.objcpp" }, { @@ -7224,7 +7224,7 @@ "string_placeholder": { "patterns": [ { - "match": "%(\\d+\\$)?[#0\\-\\s+']*[,;:_]?((-?\\d+)|\\*(-?\\d+\\$)?)?(\\.((-?\\d+)|\\*(-?\\d+\\$)?)?)?(hh|h|ll|l|j|t|z|q|L|vh|vl|v|hv|hl)?[diouxXDOUeEfFgGaACcSspn%]", + "match": "%(\\d+\\$)?[#0\\- +']*[,;:_]?((-?\\d+)|\\*(-?\\d+\\$)?)?(\\.((-?\\d+)|\\*(-?\\d+\\$)?)?)?(hh|h|ll|l|j|t|z|q|L|vh|vl|v|hv|hl)?[diouxXDOUeEfFgGaACcSspn%]", "name": "constant.other.placeholder.objcpp" }, { diff --git a/packages/tm-grammars/grammars/php.json b/packages/tm-grammars/grammars/php.json index 36c3979..93ed486 100644 --- a/packages/tm-grammars/grammars/php.json +++ b/packages/tm-grammars/grammars/php.json @@ -315,7 +315,7 @@ ] }, { - "begin": "(?ix)\n(?:\n\\b((?:(?:final|abstract|readonly)\\s+)*)(class)\\s+([a-z_\\x{7f}-\\x{10ffff}][a-z0-9_\\x{7f}-\\x{10ffff}]*)\n|\\b(new)\\b\\s*(\\#\\[.*\\])?\\s*(?:(readonly)\\s+)?\\b(class)\\b\n)", + "begin": "(?ix)\n(?:\n \\b((?:(?:final|abstract|readonly)\\s+)*)(class)\\s+([a-z_\\x{7f}-\\x{10ffff}][a-z0-9_\\x{7f}-\\x{10ffff}]*)\n |\\b(new)\\b\\s*(\\#\\[.*\\])?\\s*(?:(readonly)\\s+)?\\b(class)\\b # anonymous class\n)", "beginCaptures": { "1": { "patterns": [ @@ -498,7 +498,7 @@ "name": "punctuation.definition.variable.php" } }, - "match": "(?xi)\n([a-z0-9_\\x{7f}-\\x{10ffff}\\\\]+ (?: \\s*\\|\\s* [a-z0-9_\\x{7f}-\\x{10ffff}\\\\]+)*)\n\\s*\n((\\$+)[a-z_\\x{7f}-\\x{10ffff}][a-z0-9_\\x{7f}-\\x{10ffff}]*)?" + "match": "(?xi)\n([a-z0-9_\\x{7f}-\\x{10ffff}\\\\]+ (?: \\s*\\|\\s* [a-z0-9_\\x{7f}-\\x{10ffff}\\\\]+)*) # union or single exception class\n\\s*\n((\\$+)[a-z_\\x{7f}-\\x{10ffff}][a-z0-9_\\x{7f}-\\x{10ffff}]*)? # Variable" } ] }, @@ -593,7 +593,7 @@ ] } }, - "match": "(?xi)\n(:)\\s*\n(\n\n(?:\\?\\s*)? [a-z0-9_\\x{7f}-\\x{10ffff}\\\\]+ |\n\n(?: [a-z0-9_\\x{7f}-\\x{10ffff}\\\\]+ | \\(\\s* [a-z0-9_\\x{7f}-\\x{10ffff}\\\\]+(?:\\s*&\\s*[a-z0-9_\\x{7f}-\\x{10ffff}\\\\]+)+ \\s*\\) )\n(?: \\s*[|&]\\s*\n(?: [a-z0-9_\\x{7f}-\\x{10ffff}\\\\]+ | \\(\\s* [a-z0-9_\\x{7f}-\\x{10ffff}\\\\]+(?:\\s*&\\s*[a-z0-9_\\x{7f}-\\x{10ffff}\\\\]+)+ \\s*\\) )\n)+\n)\n(?=\\s*(?:{|/[/*]|\\#|$))" + "match": "(?xi)\n(:)\\s*\n(\n # nullable type\n (?:\\?\\s*)? [a-z0-9_\\x{7f}-\\x{10ffff}\\\\]+ |\n # union, intersection or DNF type\n (?: [a-z0-9_\\x{7f}-\\x{10ffff}\\\\]+ | \\(\\s* [a-z0-9_\\x{7f}-\\x{10ffff}\\\\]+(?:\\s*&\\s*[a-z0-9_\\x{7f}-\\x{10ffff}\\\\]+)+ \\s*\\) )\n (?: \\s*[|&]\\s*\n (?: [a-z0-9_\\x{7f}-\\x{10ffff}\\\\]+ | \\(\\s* [a-z0-9_\\x{7f}-\\x{10ffff}\\\\]+(?:\\s*&\\s*[a-z0-9_\\x{7f}-\\x{10ffff}\\\\]+)+ \\s*\\) )\n )+\n)\n(?=\\s*(?:{|/[/*]|\\#|$))" } ] }, @@ -648,7 +648,7 @@ ] } }, - "match": "(?xi)\n(:)\\s*\n(\n\n(?:\\?\\s*)? [a-z0-9_\\x{7f}-\\x{10ffff}\\\\]+ |\n\n(?: [a-z0-9_\\x{7f}-\\x{10ffff}\\\\]+ | \\(\\s* [a-z0-9_\\x{7f}-\\x{10ffff}\\\\]+(?:\\s*&\\s*[a-z0-9_\\x{7f}-\\x{10ffff}\\\\]+)+ \\s*\\) )\n(?: \\s*[|&]\\s*\n(?: [a-z0-9_\\x{7f}-\\x{10ffff}\\\\]+ | \\(\\s* [a-z0-9_\\x{7f}-\\x{10ffff}\\\\]+(?:\\s*&\\s*[a-z0-9_\\x{7f}-\\x{10ffff}\\\\]+)+ \\s*\\) )\n)+\n)\n(?=\\s*(?:=>|/[/*]|\\#|$))" + "match": "(?xi)\n(:)\\s*\n(\n # nullable type\n (?:\\?\\s*)? [a-z0-9_\\x{7f}-\\x{10ffff}\\\\]+ |\n # union, intersection or DNF type\n (?: [a-z0-9_\\x{7f}-\\x{10ffff}\\\\]+ | \\(\\s* [a-z0-9_\\x{7f}-\\x{10ffff}\\\\]+(?:\\s*&\\s*[a-z0-9_\\x{7f}-\\x{10ffff}\\\\]+)+ \\s*\\) )\n (?: \\s*[|&]\\s*\n (?: [a-z0-9_\\x{7f}-\\x{10ffff}\\\\]+ | \\(\\s* [a-z0-9_\\x{7f}-\\x{10ffff}\\\\]+(?:\\s*&\\s*[a-z0-9_\\x{7f}-\\x{10ffff}\\\\]+)+ \\s*\\) )\n )+\n)\n(?=\\s*(?:=>|/[/*]|\\#|$))" } ] }, @@ -674,7 +674,7 @@ } }, "contentName": "meta.function.parameters.php", - "end": "(?xi)\n(\\)) \\s* ( : \\s*\n(?:\\?\\s*)? (?!\\s) [a-z0-9_\\x{7f}-\\x{10ffff}\\\\\\s\\|&()]+ (?<!\\s)\n)?\n(?=\\s*(?:{|/[/*]|\\#|$|;))", + "end": "(?xi)\n(\\)) \\s* ( : \\s*\n (?:\\?\\s*)? (?!\\s) [a-z0-9_\\x{7f}-\\x{10ffff}\\\\\\s\\|&()]+ (?<!\\s)\n)?\n(?=\\s*(?:{|/[/*]|\\#|$|;))", "endCaptures": { "1": { "name": "punctuation.definition.parameters.end.bracket.round.php" @@ -693,7 +693,7 @@ "name": "punctuation.separator.delimiter.php" }, { - "begin": "(?xi)\n((?:(?:public|private|protected|readonly)(?:\\s+|(?=\\?)))++)\n(?: (\n\n(?:\\?\\s*)? [a-z0-9_\\x{7f}-\\x{10ffff}\\\\]+ |\n\n(?: [a-z0-9_\\x{7f}-\\x{10ffff}\\\\]+ | \\(\\s* [a-z0-9_\\x{7f}-\\x{10ffff}\\\\]+(?:\\s*&\\s*[a-z0-9_\\x{7f}-\\x{10ffff}\\\\]+)+ \\s*\\) )\n(?: \\s*[|&]\\s*\n(?: [a-z0-9_\\x{7f}-\\x{10ffff}\\\\]+ | \\(\\s* [a-z0-9_\\x{7f}-\\x{10ffff}\\\\]+(?:\\s*&\\s*[a-z0-9_\\x{7f}-\\x{10ffff}\\\\]+)+ \\s*\\) )\n)+\n) \\s+ )?\n((?:(&)\\s*)?(\\$)[a-z_\\x{7f}-\\x{10ffff}][a-z0-9_\\x{7f}-\\x{10ffff}]*)", + "begin": "(?xi)\n((?:(?:public|private|protected|readonly)(?:\\s+|(?=\\?)))++)\n(?: (\n # nullable type\n (?:\\?\\s*)? [a-z0-9_\\x{7f}-\\x{10ffff}\\\\]+ |\n # union, intersection or DNF type\n (?: [a-z0-9_\\x{7f}-\\x{10ffff}\\\\]+ | \\(\\s* [a-z0-9_\\x{7f}-\\x{10ffff}\\\\]+(?:\\s*&\\s*[a-z0-9_\\x{7f}-\\x{10ffff}\\\\]+)+ \\s*\\) )\n (?: \\s*[|&]\\s*\n (?: [a-z0-9_\\x{7f}-\\x{10ffff}\\\\]+ | \\(\\s* [a-z0-9_\\x{7f}-\\x{10ffff}\\\\]+(?:\\s*&\\s*[a-z0-9_\\x{7f}-\\x{10ffff}\\\\]+)+ \\s*\\) )\n )+\n) \\s+ )?\n((?:(&)\\s*)?(\\$)[a-z_\\x{7f}-\\x{10ffff}][a-z0-9_\\x{7f}-\\x{10ffff}]*) # Variable name with possible reference", "beginCaptures": { "1": { "patterns": [ @@ -772,7 +772,7 @@ } }, "contentName": "meta.function.parameters.php", - "end": "(?xi)\n(\\)) (?: \\s* (:) \\s* (\n\n(?:\\?\\s*)? [a-z0-9_\\x{7f}-\\x{10ffff}\\\\]+ |\n\n(?: [a-z0-9_\\x{7f}-\\x{10ffff}\\\\]+ | \\(\\s* [a-z0-9_\\x{7f}-\\x{10ffff}\\\\]+(?:\\s*&\\s*[a-z0-9_\\x{7f}-\\x{10ffff}\\\\]+)+ \\s*\\) )\n(?: \\s*[|&]\\s*\n(?: [a-z0-9_\\x{7f}-\\x{10ffff}\\\\]+ | \\(\\s* [a-z0-9_\\x{7f}-\\x{10ffff}\\\\]+(?:\\s*&\\s*[a-z0-9_\\x{7f}-\\x{10ffff}\\\\]+)+ \\s*\\) )\n)+\n) )?\n(?=\\s*(?:{|/[/*]|\\#|$|;))", + "end": "(?xi)\n(\\)) (?: \\s* (:) \\s* (\n # nullable type\n (?:\\?\\s*)? [a-z0-9_\\x{7f}-\\x{10ffff}\\\\]+ |\n # union, intersection or DNF type\n (?: [a-z0-9_\\x{7f}-\\x{10ffff}\\\\]+ | \\(\\s* [a-z0-9_\\x{7f}-\\x{10ffff}\\\\]+(?:\\s*&\\s*[a-z0-9_\\x{7f}-\\x{10ffff}\\\\]+)+ \\s*\\) )\n (?: \\s*[|&]\\s*\n (?: [a-z0-9_\\x{7f}-\\x{10ffff}\\\\]+ | \\(\\s* [a-z0-9_\\x{7f}-\\x{10ffff}\\\\]+(?:\\s*&\\s*[a-z0-9_\\x{7f}-\\x{10ffff}\\\\]+)+ \\s*\\) )\n )+\n) )?\n(?=\\s*(?:{|/[/*]|\\#|$|;))", "endCaptures": { "1": { "name": "punctuation.definition.parameters.end.bracket.round.php" @@ -827,7 +827,7 @@ "name": "punctuation.definition.variable.php" } }, - "match": "(?xi)\n((?:(?:public|private|protected|static|readonly)(?:\\s+|(?=\\?)))++)\n(\n\n(?:\\?\\s*)? [a-z0-9_\\x{7f}-\\x{10ffff}\\\\]+ |\n\n(?: [a-z0-9_\\x{7f}-\\x{10ffff}\\\\]+ | \\(\\s* [a-z0-9_\\x{7f}-\\x{10ffff}\\\\]+(?:\\s*&\\s*[a-z0-9_\\x{7f}-\\x{10ffff}\\\\]+)+ \\s*\\) )\n(?: \\s*[|&]\\s*\n(?: [a-z0-9_\\x{7f}-\\x{10ffff}\\\\]+ | \\(\\s* [a-z0-9_\\x{7f}-\\x{10ffff}\\\\]+(?:\\s*&\\s*[a-z0-9_\\x{7f}-\\x{10ffff}\\\\]+)+ \\s*\\) )\n)+\n)?\n\\s+ ((\\$)[a-z_\\x{7f}-\\x{10ffff}][a-z0-9_\\x{7f}-\\x{10ffff}]*)" + "match": "(?xi)\n((?:(?:public|private|protected|static|readonly)(?:\\s+|(?=\\?)))++) # At least one modifier\n(\n # nullable type\n (?:\\?\\s*)? [a-z0-9_\\x{7f}-\\x{10ffff}\\\\]+ |\n # union, intersection or DNF type\n (?: [a-z0-9_\\x{7f}-\\x{10ffff}\\\\]+ | \\(\\s* [a-z0-9_\\x{7f}-\\x{10ffff}\\\\]+(?:\\s*&\\s*[a-z0-9_\\x{7f}-\\x{10ffff}\\\\]+)+ \\s*\\) )\n (?: \\s*[|&]\\s*\n (?: [a-z0-9_\\x{7f}-\\x{10ffff}\\\\]+ | \\(\\s* [a-z0-9_\\x{7f}-\\x{10ffff}\\\\]+(?:\\s*&\\s*[a-z0-9_\\x{7f}-\\x{10ffff}\\\\]+)+ \\s*\\) )\n )+\n)?\n\\s+ ((\\$)[a-z_\\x{7f}-\\x{10ffff}][a-z0-9_\\x{7f}-\\x{10ffff}]*) # Variable name" }, { "include": "#invoke-call" @@ -1192,7 +1192,7 @@ "name": "punctuation.separator.inheritance.php" } }, - "match": "(?xi)\n(\\\\)?\\b\n(Attribute|(APC|Append)Iterator|Array(Access|Iterator|Object)\n|Bad(Function|Method)CallException\n|(Caching|CallbackFilter)Iterator|Collator|Collectable|Cond|Countable|CURLFile\n|Date(Interval|Period|Time(Interface|Immutable|Zone)?)?|Directory(Iterator)?|DomainException\n|DOM(Attr|CdataSection|CharacterData|Comment|Document(Fragment)?|Element|EntityReference\n|Implementation|NamedNodeMap|Node(list)?|ProcessingInstruction|Text|XPath)\n|(Error)?Exception|EmptyIterator\n|finfo\n|Ev(Check|Child|Embed|Fork|Idle|Io|Loop|Periodic|Prepare|Signal|Stat|Timer|Watcher)?\n|Event(Base|Buffer(Event)?|SslContext|Http(Request|Connection)?|Config|DnsBase|Util|Listener)?\n|FANNConnection|(Filter|Filesystem)Iterator\n|Gender\\\\Gender|GlobIterator|Gmagick(Draw|Pixel)?\n|Haru(Annotation|Destination|Doc|Encoder|Font|Image|Outline|Page)\n|Http((Inflate|Deflate)?Stream|Message|Request(Pool)?|Response|QueryString)\n|HRTime\\\\(PerformanceCounter|StopWatch)\n|Intl(Calendar|((CodePoint|RuleBased)?Break|Parts)?Iterator|DateFormatter|TimeZone)\n|Imagick(Draw|Pixel(Iterator)?)?\n|InfiniteIterator|InvalidArgumentException|Iterator(Aggregate|Iterator)?\n|JsonSerializable\n|KTaglib_(MPEG_(File|AudioProperties)|Tag|ID3v2_(Tag|(AttachedPicture)?Frame))\n|Lapack|(Length|Locale|Logic)Exception|LimitIterator|Lua(Closure)?\n|Mongo(BinData|Client|Code|Collection|CommandCursor|Cursor(Exception)?|Date|DB(Ref)?|DeleteBatch\n|Grid(FS(Cursor|File)?)|Id|InsertBatch|Int(32|64)|Log|Pool|Regex|ResultException|Timestamp\n|UpdateBatch|Write(Batch|ConcernException))?\n|Memcache(d)?|MessageFormatter|MultipleIterator|Mutex\n|mysqli(_(driver|stmt|warning|result))?\n|MysqlndUh(Connection|PreparedStatement)\n|NoRewindIterator|Normalizer|NumberFormatter\n|OCI-(Collection|Lob)|OuterIterator|(OutOf(Bounds|Range)|Overflow)Exception\n|ParentIterator|PDO(Statement)?|Phar(Data|FileInfo)?|php_user_filter|Pool\n|QuickHash(Int(Set|StringHash)|StringIntHash)\n|Recursive(Array|Caching|Directory|Fallback|Filter|Iterator|Regex|Tree)?Iterator\n|Reflection(Class|Function(Abstract)?|Method|Object|Parameter|Property|(Zend)?Extension)?\n|RangeException|Reflector|RegexIterator|ResourceBundle|RuntimeException|RRD(Creator|Graph|Updater)\n|SAM(Connection|Message)|SCA(_(SoapProxy|LocalProxy))?\n|SDO_(DAS_(ChangeSummary|Data(Factory|Object)|Relational|Setting|XML(_Document)?)\n|Data(Factory|Object)|Exception|List|Model_(Property|ReflectionDataObject|Type)|Sequence)\n|SeekableIterator|Serializable|SessionHandler(Interface)?|SimpleXML(Iterator|Element)|SNMP\n|Soap(Client|Fault|Header|Param|Server|Var)\n|SphinxClient|Spoofchecker\n|Spl(DoublyLinkedList|Enum|File(Info|Object)|FixedArray|(Max|Min)?Heap|Observer|ObjectStorage\n|(Priority)?Queue|Stack|Subject|Type|TempFileObject)\n|SQLite(3(Result|Stmt)?|Database|Result|Unbuffered)\n|stdClass|streamWrapper|SVM(Model)?|Swish(Result(s)?|Search)?|Sync(Event|Mutex|ReaderWriter|Semaphore)\n|Thread(ed)?|tidy(Node)?|TokyoTyrant(Table|Iterator|Query)?|Transliterator|Traversable\n|UConverter|(Underflow|UnexpectedValue)Exception\n|V8Js(Exception)?|Varnish(Admin|Log|Stat)\n|Worker|Weak(Map|Ref)\n|XML(Diff\\\\(Base|DOM|File|Memory)|Reader|Writer)|XsltProcessor\n|Yaf_(Route_(Interface|Map|Regex|Rewrite|Simple|Supervar)\n|Action_Abstract|Application|Config_(Simple|Ini|Abstract)|Controller_Abstract\n|Dispatcher|Exception|Loader|Plugin_Abstract|Registry|Request_(Abstract|Simple|Http)\n|Response_Abstract|Router|Session|View_(Simple|Interface))\n|Yar_(Client(_Exception)?|Concurrent_Client|Server(_Exception)?)\n|ZipArchive|ZMQ(Context|Device|Poll|Socket)?)\n\\b", + "match": "(?xi)\n(\\\\)?\\b\n(Attribute|(APC|Append)Iterator|Array(Access|Iterator|Object)\n|Bad(Function|Method)CallException\n|(Caching|CallbackFilter)Iterator|Collator|Collectable|Cond|Countable|CURLFile\n|Date(Interval|Period|Time(Interface|Immutable|Zone)?)?|Directory(Iterator)?|DomainException\n|DOM(Attr|CdataSection|CharacterData|Comment|Document(Fragment)?|Element|EntityReference\n |Implementation|NamedNodeMap|Node(list)?|ProcessingInstruction|Text|XPath)\n|(Error)?Exception|EmptyIterator\n|finfo\n|Ev(Check|Child|Embed|Fork|Idle|Io|Loop|Periodic|Prepare|Signal|Stat|Timer|Watcher)?\n|Event(Base|Buffer(Event)?|SslContext|Http(Request|Connection)?|Config|DnsBase|Util|Listener)?\n|FANNConnection|(Filter|Filesystem)Iterator\n|Gender\\\\Gender|GlobIterator|Gmagick(Draw|Pixel)?\n|Haru(Annotation|Destination|Doc|Encoder|Font|Image|Outline|Page)\n|Http((Inflate|Deflate)?Stream|Message|Request(Pool)?|Response|QueryString)\n|HRTime\\\\(PerformanceCounter|StopWatch)\n|Intl(Calendar|((CodePoint|RuleBased)?Break|Parts)?Iterator|DateFormatter|TimeZone)\n|Imagick(Draw|Pixel(Iterator)?)?\n|InfiniteIterator|InvalidArgumentException|Iterator(Aggregate|Iterator)?\n|JsonSerializable\n|KTaglib_(MPEG_(File|AudioProperties)|Tag|ID3v2_(Tag|(AttachedPicture)?Frame))\n|Lapack|(Length|Locale|Logic)Exception|LimitIterator|Lua(Closure)?\n|Mongo(BinData|Client|Code|Collection|CommandCursor|Cursor(Exception)?|Date|DB(Ref)?|DeleteBatch\n |Grid(FS(Cursor|File)?)|Id|InsertBatch|Int(32|64)|Log|Pool|Regex|ResultException|Timestamp\n |UpdateBatch|Write(Batch|ConcernException))?\n|Memcache(d)?|MessageFormatter|MultipleIterator|Mutex\n|mysqli(_(driver|stmt|warning|result))?\n|MysqlndUh(Connection|PreparedStatement)\n|NoRewindIterator|Normalizer|NumberFormatter\n|OCI-(Collection|Lob)|OuterIterator|(OutOf(Bounds|Range)|Overflow)Exception\n|ParentIterator|PDO(Statement)?|Phar(Data|FileInfo)?|php_user_filter|Pool\n|QuickHash(Int(Set|StringHash)|StringIntHash)\n|Recursive(Array|Caching|Directory|Fallback|Filter|Iterator|Regex|Tree)?Iterator\n|Reflection(Class|Function(Abstract)?|Method|Object|Parameter|Property|(Zend)?Extension)?\n|RangeException|Reflector|RegexIterator|ResourceBundle|RuntimeException|RRD(Creator|Graph|Updater)\n|SAM(Connection|Message)|SCA(_(SoapProxy|LocalProxy))?\n|SDO_(DAS_(ChangeSummary|Data(Factory|Object)|Relational|Setting|XML(_Document)?)\n |Data(Factory|Object)|Exception|List|Model_(Property|ReflectionDataObject|Type)|Sequence)\n|SeekableIterator|Serializable|SessionHandler(Interface)?|SimpleXML(Iterator|Element)|SNMP\n|Soap(Client|Fault|Header|Param|Server|Var)\n|SphinxClient|Spoofchecker\n|Spl(DoublyLinkedList|Enum|File(Info|Object)|FixedArray|(Max|Min)?Heap|Observer|ObjectStorage\n |(Priority)?Queue|Stack|Subject|Type|TempFileObject)\n|SQLite(3(Result|Stmt)?|Database|Result|Unbuffered)\n|stdClass|streamWrapper|SVM(Model)?|Swish(Result(s)?|Search)?|Sync(Event|Mutex|ReaderWriter|Semaphore)\n|Thread(ed)?|tidy(Node)?|TokyoTyrant(Table|Iterator|Query)?|Transliterator|Traversable\n|UConverter|(Underflow|UnexpectedValue)Exception\n|V8Js(Exception)?|Varnish(Admin|Log|Stat)\n|Worker|Weak(Map|Ref)\n|XML(Diff\\\\(Base|DOM|File|Memory)|Reader|Writer)|XsltProcessor\n|Yaf_(Route_(Interface|Map|Regex|Rewrite|Simple|Supervar)\n |Action_Abstract|Application|Config_(Simple|Ini|Abstract)|Controller_Abstract\n |Dispatcher|Exception|Loader|Plugin_Abstract|Registry|Request_(Abstract|Simple|Http)\n |Response_Abstract|Router|Session|View_(Simple|Interface))\n|Yar_(Client(_Exception)?|Concurrent_Client|Server(_Exception)?)\n|ZipArchive|ZMQ(Context|Device|Poll|Socket)?)\n\\b", "name": "support.class.builtin.php" } ] @@ -1534,11 +1534,11 @@ "name": "punctuation.definition.variable.php" } }, - "match": "(?xi)\n(?: (\n\n(?:\\?\\s*)? [a-z0-9_\\x{7f}-\\x{10ffff}\\\\]+ |\n\n(?: [a-z0-9_\\x{7f}-\\x{10ffff}\\\\]+ | \\(\\s* [a-z0-9_\\x{7f}-\\x{10ffff}\\\\]+(?:\\s*&\\s*[a-z0-9_\\x{7f}-\\x{10ffff}\\\\]+)+ \\s*\\) )\n(?: \\s*[|&]\\s*\n(?: [a-z0-9_\\x{7f}-\\x{10ffff}\\\\]+ | \\(\\s* [a-z0-9_\\x{7f}-\\x{10ffff}\\\\]+(?:\\s*&\\s*[a-z0-9_\\x{7f}-\\x{10ffff}\\\\]+)+ \\s*\\) )\n)+\n) \\s+ )?\n((?:(&)\\s*)?(\\.\\.\\.)(\\$)[a-z_\\x{7f}-\\x{10ffff}][a-z0-9_\\x{7f}-\\x{10ffff}]*)\n(?=\\s*(?:,|\\)|/[/*]|\\#|$))", + "match": "(?xi)\n(?: (\n # nullable type\n (?:\\?\\s*)? [a-z0-9_\\x{7f}-\\x{10ffff}\\\\]+ |\n # union, intersection or DNF type\n (?: [a-z0-9_\\x{7f}-\\x{10ffff}\\\\]+ | \\(\\s* [a-z0-9_\\x{7f}-\\x{10ffff}\\\\]+(?:\\s*&\\s*[a-z0-9_\\x{7f}-\\x{10ffff}\\\\]+)+ \\s*\\) )\n (?: \\s*[|&]\\s*\n (?: [a-z0-9_\\x{7f}-\\x{10ffff}\\\\]+ | \\(\\s* [a-z0-9_\\x{7f}-\\x{10ffff}\\\\]+(?:\\s*&\\s*[a-z0-9_\\x{7f}-\\x{10ffff}\\\\]+)+ \\s*\\) )\n )+\n) \\s+ )?\n((?:(&)\\s*)?(\\.\\.\\.)(\\$)[a-z_\\x{7f}-\\x{10ffff}][a-z0-9_\\x{7f}-\\x{10ffff}]*) # Variable name with possible reference\n(?=\\s*(?:,|\\)|/[/*]|\\#|$)) # A closing parentheses (end of argument list) or a comma or a comment", "name": "meta.function.parameter.variadic.php" }, { - "begin": "(?xi)\n(\n\n(?:\\?\\s*)? [a-z0-9_\\x{7f}-\\x{10ffff}\\\\]+ |\n\n(?: [a-z0-9_\\x{7f}-\\x{10ffff}\\\\]+ | \\(\\s* [a-z0-9_\\x{7f}-\\x{10ffff}\\\\]+(?:\\s*&\\s*[a-z0-9_\\x{7f}-\\x{10ffff}\\\\]+)+ \\s*\\) )\n(?: \\s*[|&]\\s*\n(?: [a-z0-9_\\x{7f}-\\x{10ffff}\\\\]+ | \\(\\s* [a-z0-9_\\x{7f}-\\x{10ffff}\\\\]+(?:\\s*&\\s*[a-z0-9_\\x{7f}-\\x{10ffff}\\\\]+)+ \\s*\\) )\n)+\n)\n\\s+ ((?:(&)\\s*)?(\\$)[a-z_\\x{7f}-\\x{10ffff}][a-z0-9_\\x{7f}-\\x{10ffff}]*)", + "begin": "(?xi)\n(\n # nullable type\n (?:\\?\\s*)? [a-z0-9_\\x{7f}-\\x{10ffff}\\\\]+ |\n # union, intersection or DNF type\n (?: [a-z0-9_\\x{7f}-\\x{10ffff}\\\\]+ | \\(\\s* [a-z0-9_\\x{7f}-\\x{10ffff}\\\\]+(?:\\s*&\\s*[a-z0-9_\\x{7f}-\\x{10ffff}\\\\]+)+ \\s*\\) )\n (?: \\s*[|&]\\s*\n (?: [a-z0-9_\\x{7f}-\\x{10ffff}\\\\]+ | \\(\\s* [a-z0-9_\\x{7f}-\\x{10ffff}\\\\]+(?:\\s*&\\s*[a-z0-9_\\x{7f}-\\x{10ffff}\\\\]+)+ \\s*\\) )\n )+\n)\n\\s+ ((?:(&)\\s*)?(\\$)[a-z_\\x{7f}-\\x{10ffff}][a-z0-9_\\x{7f}-\\x{10ffff}]*) # Variable name with possible reference", "beginCaptures": { "1": { "patterns": [ @@ -1588,11 +1588,11 @@ "name": "punctuation.definition.variable.php" } }, - "match": "(?xi)\n((?:(&)\\s*)?(\\$)[a-z_\\x{7f}-\\x{10ffff}][a-z0-9_\\x{7f}-\\x{10ffff}]*)\n(?=\\s*(?:,|\\)|/[/*]|\\#|$))", + "match": "(?xi)\n((?:(&)\\s*)?(\\$)[a-z_\\x{7f}-\\x{10ffff}][a-z0-9_\\x{7f}-\\x{10ffff}]*) # Variable name with possible reference\n(?=\\s*(?:,|\\)|/[/*]|\\#|$)) # A closing parentheses (end of argument list) or a comma or a comment", "name": "meta.function.parameter.no-default.php" }, { - "begin": "(?xi)\n((?:(&)\\s*)?(\\$)[a-z_\\x{7f}-\\x{10ffff}][a-z0-9_\\x{7f}-\\x{10ffff}]*)\n\\s*(=)\\s*", + "begin": "(?xi)\n((?:(&)\\s*)?(\\$)[a-z_\\x{7f}-\\x{10ffff}][a-z0-9_\\x{7f}-\\x{10ffff}]*) # Variable name with possible reference\n\\s*(=)\\s*", "beginCaptures": { "1": { "name": "variable.other.php" @@ -2743,7 +2743,7 @@ "include": "#instantiation" }, { - "begin": "(?xi)\n(?=[a-z0-9_\\x{7f}-\\x{10ffff}\\\\]+\n(::)\\s*([a-z_\\x{7f}-\\x{10ffff}][a-z0-9_\\x{7f}-\\x{10ffff}]*)?\n)", + "begin": "(?xi)\n(?=[a-z0-9_\\x{7f}-\\x{10ffff}\\\\]+\n (::)\\s*([a-z_\\x{7f}-\\x{10ffff}][a-z0-9_\\x{7f}-\\x{10ffff}]*)?\n)", "end": "(?i)(::)\\s*([a-z_\\x{7f}-\\x{10ffff}][a-z0-9_\\x{7f}-\\x{10ffff}]*)?", "endCaptures": { "1": { @@ -3118,7 +3118,7 @@ "name": "constant.other.class.php" } }, - "match": "(?xi)\n(::)\\s*\n(?:\n((\\$+)[a-z_\\x{7f}-\\x{10ffff}][a-z0-9_\\x{7f}-\\x{10ffff}]*)\n|\n([a-z_\\x{7f}-\\x{10ffff}][a-z0-9_\\x{7f}-\\x{10ffff}]*)\n)?" + "match": "(?xi)\n(::)\\s*\n(?:\n ((\\$+)[a-z_\\x{7f}-\\x{10ffff}][a-z0-9_\\x{7f}-\\x{10ffff}]*) # Variable\n |\n ([a-z_\\x{7f}-\\x{10ffff}][a-z0-9_\\x{7f}-\\x{10ffff}]*) # Constant\n)?" } ] }, @@ -3341,15 +3341,15 @@ "support": { "patterns": [ { - "match": "(?xi)\n\\b\napc_(\nstore|sma_info|compile_file|clear_cache|cas|cache_info|inc|dec|define_constants|delete(_file)?|\nexists|fetch|load_constants|add|bin_(dump|load)(file)?\n)\\b", + "match": "(?xi)\n\\b\napc_(\n store|sma_info|compile_file|clear_cache|cas|cache_info|inc|dec|define_constants|delete(_file)?|\n exists|fetch|load_constants|add|bin_(dump|load)(file)?\n)\\b", "name": "support.function.apc.php" }, { - "match": "(?xi)\\b\n(\nshuffle|sizeof|sort|next|nat(case)?sort|count|compact|current|in_array|usort|uksort|uasort|\npos|prev|end|each|extract|ksort|key(_exists)?|krsort|list|asort|arsort|rsort|reset|range|\narray(_(shift|sum|splice|search|slice|chunk|change_key_case|count_values|column|combine|\n(diff|intersect)(_(u)?(key|assoc))?|u(diff|intersect)(_(u)?assoc)?|unshift|unique|\npop|push|pad|product|values|keys|key_exists|filter|fill(_keys)?|flip|walk(_recursive)?|\nreduce|replace(_recursive)?|reverse|rand|multisort|merge(_recursive)?|map)?)\n)\\b", + "match": "(?xi)\\b\n(\n shuffle|sizeof|sort|next|nat(case)?sort|count|compact|current|in_array|usort|uksort|uasort|\n pos|prev|end|each|extract|ksort|key(_exists)?|krsort|list|asort|arsort|rsort|reset|range|\n array(_(shift|sum|splice|search|slice|chunk|change_key_case|count_values|column|combine|\n (diff|intersect)(_(u)?(key|assoc))?|u(diff|intersect)(_(u)?assoc)?|unshift|unique|\n pop|push|pad|product|values|keys|key_exists|filter|fill(_keys)?|flip|walk(_recursive)?|\n reduce|replace(_recursive)?|reverse|rand|multisort|merge(_recursive)?|map)?)\n)\\b", "name": "support.function.array.php" }, { - "match": "(?xi)\\b\n(\nshow_source|sys_getloadavg|sleep|highlight_(file|string)|constant|connection_(aborted|status)|\ntime_(nanosleep|sleep_until)|ignore_user_abort|die|define(d)?|usleep|uniqid|unpack|__halt_compiler|\nphp_(check_syntax|strip_whitespace)|pack|eval|exit|get_browser\n)\\b", + "match": "(?xi)\\b\n(\n show_source|sys_getloadavg|sleep|highlight_(file|string)|constant|connection_(aborted|status)|\n time_(nanosleep|sleep_until)|ignore_user_abort|die|define(d)?|usleep|uniqid|unpack|__halt_compiler|\n php_(check_syntax|strip_whitespace)|pack|eval|exit|get_browser\n)\\b", "name": "support.function.basic_functions.php" }, { @@ -3365,15 +3365,15 @@ "name": "support.function.bz2.php" }, { - "match": "(?xi)\\b\n(\n(French|Gregorian|Jewish|Julian)ToJD|cal_(to_jd|info|days_in_month|from_jd)|unixtojd|\njdto(unix|jewish)|easter_(date|days)|JD(MonthName|To(Gregorian|Julian|French)|DayOfWeek)\n)\\b", + "match": "(?xi)\\b\n(\n (French|Gregorian|Jewish|Julian)ToJD|cal_(to_jd|info|days_in_month|from_jd)|unixtojd|\n jdto(unix|jewish)|easter_(date|days)|JD(MonthName|To(Gregorian|Julian|French)|DayOfWeek)\n)\\b", "name": "support.function.calendar.php" }, { - "match": "(?xi)\\b\n(\nclass_alias|all_user_method(_array)?|is_(a|subclass_of)|__autoload|(class|interface|method|property|trait)_exists|\nget_(class(_(vars|methods))?|(called|parent)_class|object_vars|declared_(classes|interfaces|traits))\n)\\b", + "match": "(?xi)\\b\n(\n class_alias|all_user_method(_array)?|is_(a|subclass_of)|__autoload|(class|interface|method|property|trait)_exists|\n get_(class(_(vars|methods))?|(called|parent)_class|object_vars|declared_(classes|interfaces|traits))\n)\\b", "name": "support.function.classobj.php" }, { - "match": "(?xi)\\b\n(\ncom_(create_guid|print_typeinfo|event_sink|load_typelib|get_active_object|message_pump)|\nvariant_(sub|set(_type)?|not|neg|cast|cat|cmp|int|idiv|imp|or|div|date_(from|to)_timestamp|\npow|eqv|fix|and|add|abs|round|get_type|xor|mod|mul)\n)\\b", + "match": "(?xi)\\b\n(\n com_(create_guid|print_typeinfo|event_sink|load_typelib|get_active_object|message_pump)|\n variant_(sub|set(_type)?|not|neg|cast|cat|cmp|int|idiv|imp|or|div|date_(from|to)_timestamp|\n pow|eqv|fix|and|add|abs|round|get_type|xor|mod|mul)\n)\\b", "name": "support.function.com.php" }, { @@ -3389,11 +3389,11 @@ "name": "support.function.ctype.php" }, { - "match": "(?xi)\\b\ncurl_(\nshare_(close|init|setopt)|strerror|setopt(_array)?|copy_handle|close|init|unescape|pause|escape|\nerrno|error|exec|version|file_create|reset|getinfo|\nmulti_(strerror|setopt|select|close|init|info_read|(add|remove)_handle|getcontent|exec)\n)\\b", + "match": "(?xi)\\b\ncurl_(\n share_(close|init|setopt)|strerror|setopt(_array)?|copy_handle|close|init|unescape|pause|escape|\n errno|error|exec|version|file_create|reset|getinfo|\n multi_(strerror|setopt|select|close|init|info_read|(add|remove)_handle|getcontent|exec)\n)\\b", "name": "support.function.curl.php" }, { - "match": "(?xi)\\b\n(\nstrtotime|str[fp]time|checkdate|time|timezone_name_(from_abbr|get)|idate|\ntimezone_((location|offset|transitions|version)_get|(abbreviations|identifiers)_list|open)|\ndate(_(sun(rise|set)|sun_info|sub|create(_(immutable_)?from_format)?|timestamp_(get|set)|timezone_(get|set)|time_set|\nisodate_set|interval_(create_from_date_string|format)|offset_get|diff|default_timezone_(get|set)|date_set|\nparse(_from_format)?|format|add|get_last_errors|modify))?|\nlocaltime|get(date|timeofday)|gm(strftime|date|mktime)|microtime|mktime\n)\\b", + "match": "(?xi)\\b\n(\n strtotime|str[fp]time|checkdate|time|timezone_name_(from_abbr|get)|idate|\n timezone_((location|offset|transitions|version)_get|(abbreviations|identifiers)_list|open)|\n date(_(sun(rise|set)|sun_info|sub|create(_(immutable_)?from_format)?|timestamp_(get|set)|timezone_(get|set)|time_set|\n isodate_set|interval_(create_from_date_string|format)|offset_get|diff|default_timezone_(get|set)|date_set|\n parse(_from_format)?|format|add|get_last_errors|modify))?|\n localtime|get(date|timeofday)|gm(strftime|date|mktime)|microtime|mktime\n)\\b", "name": "support.function.datetime.php" }, { @@ -3409,11 +3409,11 @@ "name": "support.function.dir.php" }, { - "match": "(?xi)\\b\neio_(\nsync(fs)?|sync_file_range|symlink|stat(vfs)?|sendfile|set_min_parallel|set_max_(idle|poll_(reqs|time)|parallel)|\nseek|n(threads|op|pending|reqs|ready)|chown|chmod|custom|close|cancel|truncate|init|open|dup2|unlink|utime|poll|\nevent_loop|f(sync|stat(vfs)?|chown|chmod|truncate|datasync|utime|allocate)|write|lstat|link|rename|realpath|\nread(ahead|dir|link)?|rmdir|get_(event_stream|last_error)|grp(_(add|cancel|limit))?|mknod|mkdir|busy\n)\\b", + "match": "(?xi)\\b\neio_(\n sync(fs)?|sync_file_range|symlink|stat(vfs)?|sendfile|set_min_parallel|set_max_(idle|poll_(reqs|time)|parallel)|\n seek|n(threads|op|pending|reqs|ready)|chown|chmod|custom|close|cancel|truncate|init|open|dup2|unlink|utime|poll|\n event_loop|f(sync|stat(vfs)?|chown|chmod|truncate|datasync|utime|allocate)|write|lstat|link|rename|realpath|\n read(ahead|dir|link)?|rmdir|get_(event_stream|last_error)|grp(_(add|cancel|limit))?|mknod|mkdir|busy\n)\\b", "name": "support.function.eio.php" }, { - "match": "(?xi)\\b\nenchant_(\ndict_(store_replacement|suggest|check|is_in_session|describe|quick_check|add_to_(personal|session)|get_error)|\nbroker_(set_ordering|init|dict_exists|describe|free(_dict)?|list_dicts|request_(pwl_)?dict|get_error)\n)\\b", + "match": "(?xi)\\b\nenchant_(\n dict_(store_replacement|suggest|check|is_in_session|describe|quick_check|add_to_(personal|session)|get_error)|\n broker_(set_ordering|init|dict_exists|describe|free(_dict)?|list_dicts|request_(pwl_)?dict|get_error)\n)\\b", "name": "support.function.enchant.php" }, { @@ -3433,11 +3433,11 @@ "name": "support.function.exif.php" }, { - "match": "(?xi)\\b\nfann_(\n(duplicate|length|merge|shuffle|subset)_train_data|scale_(train(_data)?|(input|output)(_train_data)?)|\nset_(scaling_params|sarprop_(step_error_(shift|threshold_factor)|temperature|weight_decay_shift)|\ncascade_(num_candidate_groups|candidate_(change_fraction|limit|stagnation_epochs)|\noutput_(change_fraction|stagnation_epochs)|weight_multiplier|activation_(functions|steepnesses)|\n(max|min)_(cand|out)_epochs)|\ncallback|training_algorithm|train_(error|stop)_function|(input|output)_scaling_params|error_log|\nquickprop_(decay|mu)|weight(_array)?|learning_(momentum|rate)|bit_fail_limit|\nactivation_(function|steepness)(_(hidden|layer|output))?|\nrprop_((decrease|increase)_factor|delta_(max|min|zero)))|\nsave(_train)?|num_(input|output)_train_data|copy|clear_scaling_params|cascadetrain_on_(file|data)|\ncreate_((sparse|shortcut|standard)(_array)?|train(_from_callback)?|from_file)|\ntest(_data)?|train(_(on_(file|data)|epoch))?|init_weights|descale_(input|output|train)|destroy(_train)?|\nprint_error|run|reset_(MSE|err(no|str))|read_train_from_file|randomize_weights|\nget_(sarprop_(step_error_(shift|threshold_factor)|temperature|weight_decay_shift)|num_(input|output|layers)|\nnetwork_type|MSE|connection_(array|rate)|bias_array|bit_fail(_limit)?|\ncascade_(num_(candidates|candidate_groups)|(candidate|output)_(change_fraction|limit|stagnation_epochs)|\nweight_multiplier|activation_(functions|steepnesses)(_count)?|(max|min)_(cand|out)_epochs)|\ntotal_(connections|neurons)|training_algorithm|train_(error|stop)_function|err(no|str)|\nquickprop_(decay|mu)|learning_(momentum|rate)|layer_array|activation_(function|steepness)|\nrprop_((decrease|increase)_factor|delta_(max|min|zero)))\n)\\b", + "match": "(?xi)\\b\nfann_(\n (duplicate|length|merge|shuffle|subset)_train_data|scale_(train(_data)?|(input|output)(_train_data)?)|\n set_(scaling_params|sarprop_(step_error_(shift|threshold_factor)|temperature|weight_decay_shift)|\n cascade_(num_candidate_groups|candidate_(change_fraction|limit|stagnation_epochs)|\n output_(change_fraction|stagnation_epochs)|weight_multiplier|activation_(functions|steepnesses)|\n (max|min)_(cand|out)_epochs)|\n callback|training_algorithm|train_(error|stop)_function|(input|output)_scaling_params|error_log|\n quickprop_(decay|mu)|weight(_array)?|learning_(momentum|rate)|bit_fail_limit|\n activation_(function|steepness)(_(hidden|layer|output))?|\n rprop_((decrease|increase)_factor|delta_(max|min|zero)))|\n save(_train)?|num_(input|output)_train_data|copy|clear_scaling_params|cascadetrain_on_(file|data)|\n create_((sparse|shortcut|standard)(_array)?|train(_from_callback)?|from_file)|\n test(_data)?|train(_(on_(file|data)|epoch))?|init_weights|descale_(input|output|train)|destroy(_train)?|\n print_error|run|reset_(MSE|err(no|str))|read_train_from_file|randomize_weights|\n get_(sarprop_(step_error_(shift|threshold_factor)|temperature|weight_decay_shift)|num_(input|output|layers)|\n network_type|MSE|connection_(array|rate)|bias_array|bit_fail(_limit)?|\n cascade_(num_(candidates|candidate_groups)|(candidate|output)_(change_fraction|limit|stagnation_epochs)|\n weight_multiplier|activation_(functions|steepnesses)(_count)?|(max|min)_(cand|out)_epochs)|\n total_(connections|neurons)|training_algorithm|train_(error|stop)_function|err(no|str)|\n quickprop_(decay|mu)|learning_(momentum|rate)|layer_array|activation_(function|steepness)|\n rprop_((decrease|increase)_factor|delta_(max|min|zero)))\n)\\b", "name": "support.function.fann.php" }, { - "match": "(?xi)\\b\n(\nsymlink|stat|set_file_buffer|chown|chgrp|chmod|copy|clearstatcache|touch|tempnam|tmpfile|\nis_(dir|(uploaded_)?file|executable|link|readable|writ(e)?able)|disk_(free|total)_space|diskfreespace|\ndirname|delete|unlink|umask|pclose|popen|pathinfo|parse_ini_(file|string)|fscanf|fstat|fseek|fnmatch|\nfclose|ftell|ftruncate|file(size|[acm]time|type|inode|owner|perms|group)?|file_(exists|(get|put)_contents)|\nf(open|puts|putcsv|passthru|eof|flush|write|lock|read|gets(s)?|getc(sv)?)|lstat|lchown|lchgrp|link(info)?|\nrename|rewind|read(file|link)|realpath(_cache_(get|size))?|rmdir|glob|move_uploaded_file|mkdir|basename\n)\\b", + "match": "(?xi)\\b\n(\n symlink|stat|set_file_buffer|chown|chgrp|chmod|copy|clearstatcache|touch|tempnam|tmpfile|\n is_(dir|(uploaded_)?file|executable|link|readable|writ(e)?able)|disk_(free|total)_space|diskfreespace|\n dirname|delete|unlink|umask|pclose|popen|pathinfo|parse_ini_(file|string)|fscanf|fstat|fseek|fnmatch|\n fclose|ftell|ftruncate|file(size|[acm]time|type|inode|owner|perms|group)?|file_(exists|(get|put)_contents)|\n f(open|puts|putcsv|passthru|eof|flush|write|lock|read|gets(s)?|getc(sv)?)|lstat|lchown|lchgrp|link(info)?|\n rename|rewind|read(file|link)|realpath(_cache_(get|size))?|rmdir|glob|move_uploaded_file|mkdir|basename\n)\\b", "name": "support.function.file.php" }, { @@ -3461,7 +3461,7 @@ "name": "support.function.gettext.php" }, { - "match": "(?xi)\\b\ngmp_(\nscan[01]|strval|sign|sub|setbit|sqrt(rem)?|hamdist|neg|nextprime|com|clrbit|cmp|testbit|\nintval|init|invert|import|or|div(exact)?|div_(q|qr|r)|jacobi|popcount|pow(m)?|perfect_square|\nprob_prime|export|fact|legendre|and|add|abs|root(rem)?|random(_(bits|range))?|gcd(ext)?|xor|mod|mul\n)\\b", + "match": "(?xi)\\b\ngmp_(\n scan[01]|strval|sign|sub|setbit|sqrt(rem)?|hamdist|neg|nextprime|com|clrbit|cmp|testbit|\n intval|init|invert|import|or|div(exact)?|div_(q|qr|r)|jacobi|popcount|pow(m)?|perfect_square|\n prob_prime|export|fact|legendre|and|add|abs|root(rem)?|random(_(bits|range))?|gcd(ext)?|xor|mod|mul\n)\\b", "name": "support.function.gmp.php" }, { @@ -3469,7 +3469,7 @@ "name": "support.function.hash.php" }, { - "match": "(?xi)\\b\n(\nhttp_(support|send_(status|stream|content_(disposition|type)|data|file|last_modified)|head|\nnegotiate_(charset|content_type|language)|chunked_decode|cache_(etag|last_modified)|throttle|\ninflate|deflate|date|post_(data|fields)|put_(data|file|stream)|persistent_handles_(count|clean|ident)|\nparse_(cookie|headers|message|params)|redirect|request(_(method_(exists|name|(un)?register)|body_encode))?|\nget(_request_(headers|body(_stream)?))?|match_(etag|modified|request_header)|build_(cookie|str|url))|\nob_(etag|deflate|inflate)handler\n)\\b", + "match": "(?xi)\\b\n(\n http_(support|send_(status|stream|content_(disposition|type)|data|file|last_modified)|head|\n negotiate_(charset|content_type|language)|chunked_decode|cache_(etag|last_modified)|throttle|\n inflate|deflate|date|post_(data|fields)|put_(data|file|stream)|persistent_handles_(count|clean|ident)|\n parse_(cookie|headers|message|params)|redirect|request(_(method_(exists|name|(un)?register)|body_encode))?|\n get(_request_(headers|body(_stream)?))?|match_(etag|modified|request_header)|build_(cookie|str|url))|\n ob_(etag|deflate|inflate)handler\n)\\b", "name": "support.function.http.php" }, { @@ -3481,19 +3481,19 @@ "name": "support.function.iisfunc.php" }, { - "match": "(?xi)\\b\n(\niptc(embed|parse)|(jpeg|png)2wbmp|gd_info|getimagesize(fromstring)?|\nimage(s[xy]|scale|(char|string)(up)?|set(style|thickness|tile|interpolation|pixel|brush)|savealpha|\nconvolution|copy(resampled|resized|merge(gray)?)?|colors(forindex|total)|\ncolor(set|closest(alpha|hwb)?|transparent|deallocate|(allocate|exact|resolve)(alpha)?|at|match)|\ncrop(auto)?|create(truecolor|from(string|jpeg|png|wbmp|webp|gif|gd(2(part)?)?|xpm|xbm))?|\ntypes|ttf(bbox|text)|truecolortopalette|istruecolor|interlace|2wbmp|destroy|dashedline|jpeg|\n_type_to_(extension|mime_type)|ps(slantfont|text|(encode|extend|free|load)font|bbox)|png|polygon|\npalette(copy|totruecolor)|ellipse|ft(text|bbox)|filter|fill|filltoborder|\nfilled(arc|ellipse|polygon|rectangle)|font(height|width)|flip|webp|wbmp|line|loadfont|layereffect|\nantialias|affine(matrix(concat|get))?|alphablending|arc|rotate|rectangle|gif|gd(2)?|gammacorrect|\ngrab(screen|window)|xbm)\n)\\b", + "match": "(?xi)\\b\n(\n iptc(embed|parse)|(jpeg|png)2wbmp|gd_info|getimagesize(fromstring)?|\n image(s[xy]|scale|(char|string)(up)?|set(style|thickness|tile|interpolation|pixel|brush)|savealpha|\n convolution|copy(resampled|resized|merge(gray)?)?|colors(forindex|total)|\n color(set|closest(alpha|hwb)?|transparent|deallocate|(allocate|exact|resolve)(alpha)?|at|match)|\n crop(auto)?|create(truecolor|from(string|jpeg|png|wbmp|webp|gif|gd(2(part)?)?|xpm|xbm))?|\n types|ttf(bbox|text)|truecolortopalette|istruecolor|interlace|2wbmp|destroy|dashedline|jpeg|\n _type_to_(extension|mime_type)|ps(slantfont|text|(encode|extend|free|load)font|bbox)|png|polygon|\n palette(copy|totruecolor)|ellipse|ft(text|bbox)|filter|fill|filltoborder|\n filled(arc|ellipse|polygon|rectangle)|font(height|width)|flip|webp|wbmp|line|loadfont|layereffect|\n antialias|affine(matrix(concat|get))?|alphablending|arc|rotate|rectangle|gif|gd(2)?|gammacorrect|\n grab(screen|window)|xbm)\n)\\b", "name": "support.function.image.php" }, { - "match": "(?xi)\\b\n(\nsys_get_temp_dir|set_(time_limit|include_path|magic_quotes_runtime)|cli_(get|set)_process_title|\nini_(alter|get(_all)?|restore|set)|zend_(thread_id|version|logo_guid)|dl|php(credits|info|version)|\nphp_(sapi_name|ini_(scanned_files|loaded_file)|uname|logo_guid)|putenv|extension_loaded|version_compare|\nassert(_options)?|restore_include_path|gc_(collect_cycles|disable|enable(d)?)|getopt|\nget_(cfg_var|current_user|defined_constants|extension_funcs|include_path|included_files|loaded_extensions|\nmagic_quotes_(gpc|runtime)|required_files|resources)|\nget(env|lastmod|rusage|my(inode|[gup]id))|\nmemory_get_(peak_)?usage|main|magic_quotes_runtime\n)\\b", + "match": "(?xi)\\b\n(\n sys_get_temp_dir|set_(time_limit|include_path|magic_quotes_runtime)|cli_(get|set)_process_title|\n ini_(alter|get(_all)?|restore|set)|zend_(thread_id|version|logo_guid)|dl|php(credits|info|version)|\n php_(sapi_name|ini_(scanned_files|loaded_file)|uname|logo_guid)|putenv|extension_loaded|version_compare|\n assert(_options)?|restore_include_path|gc_(collect_cycles|disable|enable(d)?)|getopt|\n get_(cfg_var|current_user|defined_constants|extension_funcs|include_path|included_files|loaded_extensions|\n magic_quotes_(gpc|runtime)|required_files|resources)|\n get(env|lastmod|rusage|my(inode|[gup]id))|\n memory_get_(peak_)?usage|main|magic_quotes_runtime\n)\\b", "name": "support.function.info.php" }, { - "match": "(?xi)\\b\nibase_(\nset_event_handler|service_(attach|detach)|server_info|num_(fields|params)|name_result|connect|\ncommit(_ret)?|close|trans|delete_user|drop_db|db_info|pconnect|param_info|prepare|err(code|msg)|\nexecute|query|field_info|fetch_(assoc|object|row)|free_(event_handler|query|result)|wait_event|\nadd_user|affected_rows|rollback(_ret)?|restore|gen_id|modify_user|maintain_db|backup|\nblob_(cancel|close|create|import|info|open|echo|add|get)\n)\\b", + "match": "(?xi)\\b\nibase_(\n set_event_handler|service_(attach|detach)|server_info|num_(fields|params)|name_result|connect|\n commit(_ret)?|close|trans|delete_user|drop_db|db_info|pconnect|param_info|prepare|err(code|msg)|\n execute|query|field_info|fetch_(assoc|object|row)|free_(event_handler|query|result)|wait_event|\n add_user|affected_rows|rollback(_ret)?|restore|gen_id|modify_user|maintain_db|backup|\n blob_(cancel|close|create|import|info|open|echo|add|get)\n)\\b", "name": "support.function.interbase.php" }, { - "match": "(?xi)\\b\n(\nnormalizer_(normalize|is_normalized)|idn_to_(unicode|utf8|ascii)|\nnumfmt_(set_(symbol|(text_)?attribute|pattern)|create|(parse|format)(_currency)?|\nget_(symbol|(text_)?attribute|pattern|error_(code|message)|locale))|\ncollator_(sort(_with_sort_keys)?|set_(attribute|strength)|compare|create|asort|\nget_(strength|sort_key|error_(code|message)|locale|attribute))|\ntransliterator_(create(_(inverse|from_rules))?|transliterate|list_ids|get_error_(code|message))|\nintl(cal|tz)_get_error_(code|message)|intl_(is_failure|error_name|get_error_(code|message))|\ndatefmt_(set_(calendar|lenient|pattern|timezone(_id)?)|create|is_lenient|parse|format(_object)?|localtime|\nget_(calendar(_object)?|time(type|zone(_id)?)|datetype|pattern|error_(code|message)|locale))|\nlocale_(set_default|compose|canonicalize|parse|filter_matches|lookup|accept_from_http|\nget_(script|display_(script|name|variant|language|region)|default|primary_language|keywords|all_variants|region))|\nresourcebundle_(create|count|locales|get(_(error_(code|message)))?)|\ngrapheme_(str(i?str|r?i?pos|len)|substr|extract)|\nmsgfmt_(set_pattern|create|(format|parse)(_message)?|get_(pattern|error_(code|message)|locale))\n)\\b", + "match": "(?xi)\\b\n(\n normalizer_(normalize|is_normalized)|idn_to_(unicode|utf8|ascii)|\n numfmt_(set_(symbol|(text_)?attribute|pattern)|create|(parse|format)(_currency)?|\n get_(symbol|(text_)?attribute|pattern|error_(code|message)|locale))|\n collator_(sort(_with_sort_keys)?|set_(attribute|strength)|compare|create|asort|\n get_(strength|sort_key|error_(code|message)|locale|attribute))|\n transliterator_(create(_(inverse|from_rules))?|transliterate|list_ids|get_error_(code|message))|\n intl(cal|tz)_get_error_(code|message)|intl_(is_failure|error_name|get_error_(code|message))|\n datefmt_(set_(calendar|lenient|pattern|timezone(_id)?)|create|is_lenient|parse|format(_object)?|localtime|\n get_(calendar(_object)?|time(type|zone(_id)?)|datetype|pattern|error_(code|message)|locale))|\n locale_(set_default|compose|canonicalize|parse|filter_matches|lookup|accept_from_http|\n get_(script|display_(script|name|variant|language|region)|default|primary_language|keywords|all_variants|region))|\n resourcebundle_(create|count|locales|get(_(error_(code|message)))?)|\n grapheme_(str(i?str|r?i?pos|len)|substr|extract)|\n msgfmt_(set_pattern|create|(format|parse)(_message)?|get_(pattern|error_(code|message)|locale))\n)\\b", "name": "support.function.intl.php" }, { @@ -3501,7 +3501,7 @@ "name": "support.function.json.php" }, { - "match": "(?xi)\\b\nldap_(\nstart|tls|sort|search|sasl_bind|set_(option|rebind_proc)|(first|next)_(attribute|entry|reference)|\nconnect|control_paged_result(_response)?|count_entries|compare|close|t61_to_8859|8859_to_t61|\ndn2ufn|delete|unbind|parse_(reference|result)|escape|errno|err2str|error|explode_dn|bind|\nfree_result|list|add|rename|read|get_(option|dn|entries|values(_len)?|attributes)|modify(_batch)?|\nmod_(add|del|replace)\n)\\b", + "match": "(?xi)\\b\nldap_(\n start|tls|sort|search|sasl_bind|set_(option|rebind_proc)|(first|next)_(attribute|entry|reference)|\n connect|control_paged_result(_response)?|count_entries|compare|close|t61_to_8859|8859_to_t61|\n dn2ufn|delete|unbind|parse_(reference|result)|escape|errno|err2str|error|explode_dn|bind|\n free_result|list|add|rename|read|get_(option|dn|entries|values(_len)?|attributes)|modify(_batch)?|\n mod_(add|del|replace)\n)\\b", "name": "support.function.ldap.php" }, { @@ -3513,15 +3513,15 @@ "name": "support.function.mail.php" }, { - "match": "(?xi)\\b\n(\n(a)?(cos|sin|tan)(h)?|sqrt|srand|hypot|hexdec|ceil|is_(nan|(in)?finite)|octdec|dec(hex|oct|bin)|deg2rad|\npi|pow|exp(m1)?|floor|fmod|lcg_value|log(1(p|0))?|atan2|abs|round|rand|rad2deg|getrandmax|\nmt_(srand|rand|getrandmax)|max|min|bindec|base_convert\n)\\b", + "match": "(?xi)\\b\n(\n (a)?(cos|sin|tan)(h)?|sqrt|srand|hypot|hexdec|ceil|is_(nan|(in)?finite)|octdec|dec(hex|oct|bin)|deg2rad|\n pi|pow|exp(m1)?|floor|fmod|lcg_value|log(1(p|0))?|atan2|abs|round|rand|rad2deg|getrandmax|\n mt_(srand|rand|getrandmax)|max|min|bindec|base_convert\n)\\b", "name": "support.function.math.php" }, { - "match": "(?xi)\\b\nmb_(\nstr(cut|str|to(lower|upper)|istr|ipos|imwidth|pos|width|len|rchr|richr|ripos|rpos)|\nsubstitute_character|substr(_count)?|split|send_mail|http_(input|output)|check_encoding|\nconvert_(case|encoding|kana|variables)|internal_encoding|output_handler|decode_(numericentity|mimeheader)|\ndetect_(encoding|order)|parse_str|preferred_mime_name|encoding_aliases|encode_(numericentity|mimeheader)|\nereg(i(_replace)?)?|ereg_(search(_(get(pos|regs)|init|regs|(set)?pos))?|replace(_callback)?|match)|\nlist_encodings|language|regex_(set_options|encoding)|get_info\n)\\b", + "match": "(?xi)\\b\nmb_(\n str(cut|str|to(lower|upper)|istr|ipos|imwidth|pos|width|len|rchr|richr|ripos|rpos)|\n substitute_character|substr(_count)?|split|send_mail|http_(input|output)|check_encoding|\n convert_(case|encoding|kana|variables)|internal_encoding|output_handler|decode_(numericentity|mimeheader)|\n detect_(encoding|order)|parse_str|preferred_mime_name|encoding_aliases|encode_(numericentity|mimeheader)|\n ereg(i(_replace)?)?|ereg_(search(_(get(pos|regs)|init|regs|(set)?pos))?|replace(_callback)?|match)|\n list_encodings|language|regex_(set_options|encoding)|get_info\n)\\b", "name": "support.function.mbstring.php" }, { - "match": "(?xi)\\b\n(\nmcrypt_(\ncfb|create_iv|cbc|ofb|decrypt|encrypt|ecb|list_(algorithms|modes)|generic(_((de)?init|end))?|\nenc_(self_test|is_block_(algorithm|algorithm_mode|mode)|\nget_(supported_key_sizes|(block|iv|key)_size|(algorithms|modes)_name))|\nget_(cipher_name|(block|iv|key)_size)|\nmodule_(close|self_test|is_block_(algorithm|algorithm_mode|mode)|open|\nget_(supported_key_sizes|algo_(block|key)_size)))|\nmdecrypt_generic\n)\\b", + "match": "(?xi)\\b\n(\n mcrypt_(\n cfb|create_iv|cbc|ofb|decrypt|encrypt|ecb|list_(algorithms|modes)|generic(_((de)?init|end))?|\n enc_(self_test|is_block_(algorithm|algorithm_mode|mode)|\n get_(supported_key_sizes|(block|iv|key)_size|(algorithms|modes)_name))|\n get_(cipher_name|(block|iv|key)_size)|\n module_(close|self_test|is_block_(algorithm|algorithm_mode|mode)|open|\n get_(supported_key_sizes|algo_(block|key)_size)))|\n mdecrypt_generic\n)\\b", "name": "support.function.mcrypt.php" }, { @@ -3537,11 +3537,11 @@ "name": "support.function.mongo.php" }, { - "match": "(?xi)\\b\nmysql_(\nstat|set_charset|select_db|num_(fields|rows)|connect|client_encoding|close|create_db|escape_string|\nthread_id|tablename|insert_id|info|data_seek|drop_db|db_(name|query)|unbuffered_query|pconnect|ping|\nerrno|error|query|field_(seek|name|type|table|flags|len)|fetch_(object|field|lengths|assoc|array|row)|\nfree_result|list_(tables|dbs|processes|fields)|affected_rows|result|real_escape_string|\nget_(client|host|proto|server)_info\n)\\b", + "match": "(?xi)\\b\nmysql_(\n stat|set_charset|select_db|num_(fields|rows)|connect|client_encoding|close|create_db|escape_string|\n thread_id|tablename|insert_id|info|data_seek|drop_db|db_(name|query)|unbuffered_query|pconnect|ping|\n errno|error|query|field_(seek|name|type|table|flags|len)|fetch_(object|field|lengths|assoc|array|row)|\n free_result|list_(tables|dbs|processes|fields)|affected_rows|result|real_escape_string|\n get_(client|host|proto|server)_info\n)\\b", "name": "support.function.mysql.php" }, { - "match": "(?xi)\\b\nmysqli_(\nssl_set|store_result|stat|send_(query|long_data)|set_(charset|opt|local_infile_(default|handler))|\nstmt_(store_result|send_long_data|next_result|close|init|data_seek|prepare|execute|fetch|free_result|\nattr_(get|set)|result_metadata|reset|get_(result|warnings)|more_results|bind_(param|result))|\nselect_db|slave_query|savepoint|next_result|change_user|character_set_name|connect|commit|\nclient_encoding|close|thread_safe|init|options|(enable|disable)_(reads_from_master|rpl_parse)|\ndump_debug_info|debug|data_seek|use_result|ping|poll|param_count|prepare|escape_string|execute|\nembedded_server_(start|end)|kill|query|field_seek|free_result|autocommit|rollback|report|refresh|\nfetch(_(object|fields|field(_direct)?|assoc|all|array|row))?|rpl_(parse_enabled|probe|query_type)|\nrelease_savepoint|reap_async_query|real_(connect|escape_string|query)|more_results|multi_query|\nget_(charset|connection_stats|client_(stats|info|version)|cache_stats|warnings|links_stats|metadata)|\nmaster_query|bind_(param|result)|begin_transaction\n)\\b", + "match": "(?xi)\\b\nmysqli_(\n ssl_set|store_result|stat|send_(query|long_data)|set_(charset|opt|local_infile_(default|handler))|\n stmt_(store_result|send_long_data|next_result|close|init|data_seek|prepare|execute|fetch|free_result|\n attr_(get|set)|result_metadata|reset|get_(result|warnings)|more_results|bind_(param|result))|\n select_db|slave_query|savepoint|next_result|change_user|character_set_name|connect|commit|\n client_encoding|close|thread_safe|init|options|(enable|disable)_(reads_from_master|rpl_parse)|\n dump_debug_info|debug|data_seek|use_result|ping|poll|param_count|prepare|escape_string|execute|\n embedded_server_(start|end)|kill|query|field_seek|free_result|autocommit|rollback|report|refresh|\n fetch(_(object|fields|field(_direct)?|assoc|all|array|row))?|rpl_(parse_enabled|probe|query_type)|\n release_savepoint|reap_async_query|real_(connect|escape_string|query)|more_results|multi_query|\n get_(charset|connection_stats|client_(stats|info|version)|cache_stats|warnings|links_stats|metadata)|\n master_query|bind_(param|result)|begin_transaction\n)\\b", "name": "support.function.mysqli.php" }, { @@ -3561,7 +3561,7 @@ "name": "support.function.mysqlnd-uh.php" }, { - "match": "(?xi)\\b\n(\nsyslog|socket_(set_(blocking|timeout)|get_status)|set(raw)?cookie|http_response_code|openlog|\nheaders_(list|sent)|header(_(register_callback|remove))?|checkdnsrr|closelog|inet_(ntop|pton)|ip2long|\nopenlog|dns_(check_record|get_(record|mx))|define_syslog_variables|(p)?fsockopen|long2ip|\nget(servby(name|port)|host(name|by(name(l)?|addr))|protoby(name|number)|mxrr)\n)\\b", + "match": "(?xi)\\b\n(\n syslog|socket_(set_(blocking|timeout)|get_status)|set(raw)?cookie|http_response_code|openlog|\n headers_(list|sent)|header(_(register_callback|remove))?|checkdnsrr|closelog|inet_(ntop|pton)|ip2long|\n openlog|dns_(check_record|get_(record|mx))|define_syslog_variables|(p)?fsockopen|long2ip|\n get(servby(name|port)|host(name|by(name(l)?|addr))|protoby(name|number)|mxrr)\n)\\b", "name": "support.function.network.php" }, { @@ -3569,7 +3569,7 @@ "name": "support.function.nsapi.php" }, { - "match": "(?xi)\\b\n(\noci(statementtype|setprefetch|serverversion|savelob(file)?|numcols|new(collection|cursor|descriptor)|nlogon|\ncolumn(scale|size|name|type(raw)?|isnull|precision)|coll(size|trim|assign(elem)?|append|getelem|max)|commit|\ncloselob|cancel|internaldebug|definebyname|plogon|parse|error|execute|fetch(statement|into)?|\nfree(statement|collection|cursor|desc)|write(temporarylob|lobtofile)|loadlob|log(on|off)|rowcount|rollback|\nresult|bindbyname)|\noci_(statement_type|set_(client_(info|identifier)|prefetch|edition|action|module_name)|server_version|\nnum_(fields|rows)|new_(connect|collection|cursor|descriptor)|connect|commit|client_version|close|cancel|\ninternal_debug|define_by_name|pconnect|password_change|parse|error|execute|bind_(array_)?by_name|\nfield_(scale|size|name|type(_raw)?|is_null|precision)|fetch(_(object|assoc|all|array|row))?|\nfree_(statement|descriptor)|lob_(copy|is_equal)|rollback|result|get_implicit_resultset)\n)\\b", + "match": "(?xi)\\b\n(\n oci(statementtype|setprefetch|serverversion|savelob(file)?|numcols|new(collection|cursor|descriptor)|nlogon|\n column(scale|size|name|type(raw)?|isnull|precision)|coll(size|trim|assign(elem)?|append|getelem|max)|commit|\n closelob|cancel|internaldebug|definebyname|plogon|parse|error|execute|fetch(statement|into)?|\n free(statement|collection|cursor|desc)|write(temporarylob|lobtofile)|loadlob|log(on|off)|rowcount|rollback|\n result|bindbyname)|\n oci_(statement_type|set_(client_(info|identifier)|prefetch|edition|action|module_name)|server_version|\n num_(fields|rows)|new_(connect|collection|cursor|descriptor)|connect|commit|client_version|close|cancel|\n internal_debug|define_by_name|pconnect|password_change|parse|error|execute|bind_(array_)?by_name|\n field_(scale|size|name|type(_raw)?|is_null|precision)|fetch(_(object|assoc|all|array|row))?|\n free_(statement|descriptor)|lob_(copy|is_equal)|rollback|result|get_implicit_resultset)\n)\\b", "name": "support.function.oci8.php" }, { @@ -3577,11 +3577,11 @@ "name": "support.function.opcache.php" }, { - "match": "(?xi)\\b\nopenssl_(\nsign|spki_(new|export(_challenge)?|verify)|seal|csr_(sign|new|export(_to_file)?|get_(subject|public_key))|\ncipher_iv_length|open|dh_compute_key|digest|decrypt|public_(decrypt|encrypt)|encrypt|error_string|\npkcs12_(export(_to_file)?|read)|pkcs7_(sign|decrypt|encrypt|verify)|verify|free_key|random_pseudo_bytes|\npkey_(new|export(_to_file)?|free|get_(details|public|private))|private_(decrypt|encrypt)|pbkdf2|\nget_((cipher|md)_methods|cert_locations|(public|private)key)|\nx509_(check_private_key|checkpurpose|parse|export(_to_file)?|fingerprint|free|read)\n)\\b", + "match": "(?xi)\\b\nopenssl_(\n sign|spki_(new|export(_challenge)?|verify)|seal|csr_(sign|new|export(_to_file)?|get_(subject|public_key))|\n cipher_iv_length|open|dh_compute_key|digest|decrypt|public_(decrypt|encrypt)|encrypt|error_string|\n pkcs12_(export(_to_file)?|read)|pkcs7_(sign|decrypt|encrypt|verify)|verify|free_key|random_pseudo_bytes|\n pkey_(new|export(_to_file)?|free|get_(details|public|private))|private_(decrypt|encrypt)|pbkdf2|\n get_((cipher|md)_methods|cert_locations|(public|private)key)|\n x509_(check_private_key|checkpurpose|parse|export(_to_file)?|fingerprint|free|read)\n)\\b", "name": "support.function.openssl.php" }, { - "match": "(?xi)\\b\n(\noutput_(add_rewrite_var|reset_rewrite_vars)|flush|\nob_(start|clean|implicit_flush|end_(clean|flush)|flush|list_handlers|gzhandler|\nget_(status|contents|clean|flush|length|level))\n)\\b", + "match": "(?xi)\\b\n(\n output_(add_rewrite_var|reset_rewrite_vars)|flush|\n ob_(start|clean|implicit_flush|end_(clean|flush)|flush|list_handlers|gzhandler|\n get_(status|contents|clean|flush|length|level))\n)\\b", "name": "support.function.output.php" }, { @@ -3589,11 +3589,11 @@ "name": "support.function.password.php" }, { - "match": "(?xi)\\b\npcntl_(\nstrerror|signal(_dispatch)?|sig(timedwait|procmask|waitinfo)|setpriority|errno|exec|fork|\nw(stopsig|termsig|if(stopped|signaled|exited))|wait(pid)?|alarm|getpriority|get_last_error\n)\\b", + "match": "(?xi)\\b\npcntl_(\n strerror|signal(_dispatch)?|sig(timedwait|procmask|waitinfo)|setpriority|errno|exec|fork|\n w(stopsig|termsig|if(stopped|signaled|exited))|wait(pid)?|alarm|getpriority|get_last_error\n)\\b", "name": "support.function.pcntl.php" }, { - "match": "(?xi)\\b\npg_(\nsocket|send_(prepare|execute|query(_params)?)|set_(client_encoding|error_verbosity)|select|host|\nnum_(fields|rows)|consume_input|connection_(status|reset|busy)|connect(_poll)?|convert|copy_(from|to)|\nclient_encoding|close|cancel_query|tty|transaction_status|trace|insert|options|delete|dbname|untrace|\nunescape_bytea|update|pconnect|ping|port|put_line|parameter_status|prepare|version|query(_params)?|\nescape_(string|identifier|literal|bytea)|end_copy|execute|flush|free_result|last_(notice|error|oid)|\nfield_(size|num|name|type(_oid)?|table|is_null|prtlen)|affected_rows|result_(status|seek|error(_field)?)|\nfetch_(object|assoc|all(_columns)?|array|row|result)|get_(notify|pid|result)|meta_data|\nlo_(seek|close|create|tell|truncate|import|open|unlink|export|write|read(_all)?)|\n)\\b", + "match": "(?xi)\\b\npg_(\n socket|send_(prepare|execute|query(_params)?)|set_(client_encoding|error_verbosity)|select|host|\n num_(fields|rows)|consume_input|connection_(status|reset|busy)|connect(_poll)?|convert|copy_(from|to)|\n client_encoding|close|cancel_query|tty|transaction_status|trace|insert|options|delete|dbname|untrace|\n unescape_bytea|update|pconnect|ping|port|put_line|parameter_status|prepare|version|query(_params)?|\n escape_(string|identifier|literal|bytea)|end_copy|execute|flush|free_result|last_(notice|error|oid)|\n field_(size|num|name|type(_oid)?|table|is_null|prtlen)|affected_rows|result_(status|seek|error(_field)?)|\n fetch_(object|assoc|all(_columns)?|array|row|result)|get_(notify|pid|result)|meta_data|\n lo_(seek|close|create|tell|truncate|import|open|unlink|export|write|read(_all)?)|\n)\\b", "name": "support.function.pgsql.php" }, { @@ -3605,19 +3605,19 @@ "name": "support.function.php_dom.php" }, { - "match": "(?xi)\\b\nftp_(\nssl_connect|systype|site|size|set_option|nlist|nb_(continue|f?(put|get))|ch(dir|mod)|connect|cdup|close|\ndelete|put|pwd|pasv|exec|quit|f(put|get)|login|alloc|rename|raw(list)?|rmdir|get(_option)?|mdtm|mkdir\n)\\b", + "match": "(?xi)\\b\nftp_(\n ssl_connect|systype|site|size|set_option|nlist|nb_(continue|f?(put|get))|ch(dir|mod)|connect|cdup|close|\n delete|put|pwd|pasv|exec|quit|f(put|get)|login|alloc|rename|raw(list)?|rmdir|get(_option)?|mdtm|mkdir\n)\\b", "name": "support.function.php_ftp.php" }, { - "match": "(?xi)\\b\nimap_(\n(create|delete|list|rename|scan)(mailbox)?|status|sort|subscribe|set_quota|set(flag_full|acl)|search|savebody|\nnum_(recent|msg)|check|close|clearflag_full|thread|timeout|open|header(info)?|headers|append|alerts|reopen|\n8bit|unsubscribe|undelete|utf7_(decode|encode)|utf8|uid|ping|errors|expunge|qprint|gc|\nfetch(structure|header|text|mime|body)|fetch_overview|lsub|list(scan|subscribed)|last_error|\nrfc822_(parse_(headers|adrlist)|write_address)|get(subscribed|acl|mailboxes)|get_quota(root)?|\nmsgno|mime_header_decode|mail_(copy|compose|move)|mail|mailboxmsginfo|binary|body(struct)?|base64\n)\\b", + "match": "(?xi)\\b\nimap_(\n (create|delete|list|rename|scan)(mailbox)?|status|sort|subscribe|set_quota|set(flag_full|acl)|search|savebody|\n num_(recent|msg)|check|close|clearflag_full|thread|timeout|open|header(info)?|headers|append|alerts|reopen|\n 8bit|unsubscribe|undelete|utf7_(decode|encode)|utf8|uid|ping|errors|expunge|qprint|gc|\n fetch(structure|header|text|mime|body)|fetch_overview|lsub|list(scan|subscribed)|last_error|\n rfc822_(parse_(headers|adrlist)|write_address)|get(subscribed|acl|mailboxes)|get_quota(root)?|\n msgno|mime_header_decode|mail_(copy|compose|move)|mail|mailboxmsginfo|binary|body(struct)?|base64\n)\\b", "name": "support.function.php_imap.php" }, { - "match": "(?xi)\\b\nmssql_(\nselect_db|num_(fields|rows)|next_result|connect|close|init|data_seek|pconnect|execute|query|\nfield_(seek|name|type|length)|fetch_(object|field|assoc|array|row|batch)|free_(statement|result)|\nrows_affected|result|guid_string|get_last_message|min_(error|message)_severity|bind\n)\\b", + "match": "(?xi)\\b\nmssql_(\n select_db|num_(fields|rows)|next_result|connect|close|init|data_seek|pconnect|execute|query|\n field_(seek|name|type|length)|fetch_(object|field|assoc|array|row|batch)|free_(statement|result)|\n rows_affected|result|guid_string|get_last_message|min_(error|message)_severity|bind\n)\\b", "name": "support.function.php_mssql.php" }, { - "match": "(?xi)\\b\nodbc_(\nstatistics|specialcolumns|setoption|num_(fields|rows)|next_result|connect|columns|columnprivileges|commit|\ncursor|close(_all)?|tables|tableprivileges|do|data_source|pconnect|primarykeys|procedures|procedurecolumns|\nprepare|error(msg)?|exec(ute)?|field_(scale|num|name|type|precision|len)|foreignkeys|free_result|\nfetch_(into|object|array|row)|longreadlen|autocommit|rollback|result(_all)?|gettypeinfo|binmode\n)\\b", + "match": "(?xi)\\b\nodbc_(\n statistics|specialcolumns|setoption|num_(fields|rows)|next_result|connect|columns|columnprivileges|commit|\n cursor|close(_all)?|tables|tableprivileges|do|data_source|pconnect|primarykeys|procedures|procedurecolumns|\n prepare|error(msg)?|exec(ute)?|field_(scale|num|name|type|precision|len)|foreignkeys|free_result|\n fetch_(into|object|array|row)|longreadlen|autocommit|rollback|result(_all)?|gettypeinfo|binmode\n)\\b", "name": "support.function.php_odbc.php" }, { @@ -3633,7 +3633,7 @@ "name": "support.function.php_zip.php" }, { - "match": "(?xi)\\b\nposix_(\nstrerror|set(s|e?u|[ep]?g)id|ctermid|ttyname|times|isatty|initgroups|uname|errno|kill|access|\nget(sid|cwd|uid|pid|ppid|pwnam|pwuid|pgid|pgrp|euid|egid|login|rlimit|gid|grnam|groups|grgid)|\nget_last_error|mknod|mkfifo\n)\\b", + "match": "(?xi)\\b\nposix_(\n strerror|set(s|e?u|[ep]?g)id|ctermid|ttyname|times|isatty|initgroups|uname|errno|kill|access|\n get(sid|cwd|uid|pid|ppid|pwnam|pwuid|pgid|pgrp|euid|egid|login|rlimit|gid|grnam|groups|grgid)|\n get_last_error|mknod|mkfifo\n)\\b", "name": "support.function.posix.php" }, { @@ -3641,7 +3641,7 @@ "name": "support.function.proctitle.php" }, { - "match": "(?xi)\\b\npspell_(\nstore_replacement|suggest|save_wordlist|new(_(config|personal))?|check|clear_session|\nconfig_(save_repl|create|ignore|(data|dict)_dir|personal|runtogether|repl|mode)|add_to_(session|personal)\n)\\b", + "match": "(?xi)\\b\npspell_(\n store_replacement|suggest|save_wordlist|new(_(config|personal))?|check|clear_session|\n config_(save_repl|create|ignore|(data|dict)_dir|personal|runtogether|repl|mode)|add_to_(session|personal)\n)\\b", "name": "support.function.pspell.php" }, { @@ -3657,11 +3657,11 @@ "name": "support.function.rrd.php" }, { - "match": "(?xi)\\b\n(\nshm_((get|has|remove|put)_var|detach|attach|remove)|sem_(acquire|release|remove|get)|ftok|\nmsg_((get|remove|set|stat)_queue|send|queue_exists|receive)\n)\\b", + "match": "(?xi)\\b\n(\n shm_((get|has|remove|put)_var|detach|attach|remove)|sem_(acquire|release|remove|get)|ftok|\n msg_((get|remove|set|stat)_queue|send|queue_exists|receive)\n)\\b", "name": "support.function.sem.php" }, { - "match": "(?xi)\\b\nsession_(\nstatus|start|set_(save_handler|cookie_params)|save_path|name|commit|cache_(expire|limiter)|\nis_registered|id|destroy|decode|unset|unregister|encode|write_close|abort|reset|register(_shutdown)?|\nregenerate_id|get_cookie_params|module_name\n)\\b", + "match": "(?xi)\\b\nsession_(\n status|start|set_(save_handler|cookie_params)|save_path|name|commit|cache_(expire|limiter)|\n is_registered|id|destroy|decode|unset|unregister|encode|write_close|abort|reset|register(_shutdown)?|\n regenerate_id|get_cookie_params|module_name\n)\\b", "name": "support.function.session.php" }, { @@ -3673,7 +3673,7 @@ "name": "support.function.simplexml.php" }, { - "match": "(?xi)\\b\n(\nsnmp(walk(oid)?|realwalk|get(next)?|set)|\nsnmp_(set_(valueretrieval|quick_print|enum_print|oid_(numeric_print|output_format))|read_mib|\nget_(valueretrieval|quick_print))|\nsnmp[23]_(set|walk|real_walk|get(next)?)\n)\\b", + "match": "(?xi)\\b\n(\n snmp(walk(oid)?|realwalk|get(next)?|set)|\n snmp_(set_(valueretrieval|quick_print|enum_print|oid_(numeric_print|output_format))|read_mib|\n get_(valueretrieval|quick_print))|\n snmp[23]_(set|walk|real_walk|get(next)?)\n)\\b", "name": "support.function.snmp.php" }, { @@ -3681,31 +3681,31 @@ "name": "support.function.soap.php" }, { - "match": "(?xi)\\b\nsocket_(\nshutdown|strerror|send(to|msg)?|set_((non)?block|option)|select|connect|close|clear_error|bind|\ncreate(_(pair|listen))?|cmsg_space|import_stream|write|listen|last_error|accept|recv(from|msg)?|\nread|get(peer|sock)name|get_option\n)\\b", + "match": "(?xi)\\b\nsocket_(\n shutdown|strerror|send(to|msg)?|set_((non)?block|option)|select|connect|close|clear_error|bind|\n create(_(pair|listen))?|cmsg_space|import_stream|write|listen|last_error|accept|recv(from|msg)?|\n read|get(peer|sock)name|get_option\n)\\b", "name": "support.function.sockets.php" }, { - "match": "(?xi)\\b\nsqlite_(\nsingle_query|seek|has_(more|prev)|num_(fields|rows)|next|changes|column|current|close|\ncreate_(aggregate|function)|open|unbuffered_query|udf_(decode|encode)_binary|popen|prev|\nescape_string|error_string|exec|valid|key|query|field_name|factory|\nfetch_(string|single|column_types|object|all|array)|lib(encoding|version)|\nlast_(insert_rowid|error)|array_query|rewind|busy_timeout\n)\\b", + "match": "(?xi)\\b\nsqlite_(\n single_query|seek|has_(more|prev)|num_(fields|rows)|next|changes|column|current|close|\n create_(aggregate|function)|open|unbuffered_query|udf_(decode|encode)_binary|popen|prev|\n escape_string|error_string|exec|valid|key|query|field_name|factory|\n fetch_(string|single|column_types|object|all|array)|lib(encoding|version)|\n last_(insert_rowid|error)|array_query|rewind|busy_timeout\n)\\b", "name": "support.function.sqlite.php" }, { - "match": "(?xi)\\b\nsqlsrv_(\nsend_stream_data|server_info|has_rows|num_(fields|rows)|next_result|connect|configure|commit|\nclient_info|close|cancel|prepare|errors|execute|query|field_metadata|fetch(_(array|object))?|\nfree_stmt|rows_affected|rollback|get_(config|field)|begin_transaction\n)\\b", + "match": "(?xi)\\b\nsqlsrv_(\n send_stream_data|server_info|has_rows|num_(fields|rows)|next_result|connect|configure|commit|\n client_info|close|cancel|prepare|errors|execute|query|field_metadata|fetch(_(array|object))?|\n free_stmt|rows_affected|rollback|get_(config|field)|begin_transaction\n)\\b", "name": "support.function.sqlsrv.php" }, { - "match": "(?xi)\\b\nstats_(\nharmonic_mean|covariance|standard_deviation|skew|\ncdf_(noncentral_(chisquare|f)|negative_binomial|chisquare|cauchy|t|uniform|poisson|exponential|f|weibull|\nlogistic|laplace|gamma|binomial|beta)|\nstat_(noncentral_t|correlation|innerproduct|independent_t|powersum|percentile|paired_t|gennch|binomial_coef)|\ndens_(normal|negative_binomial|chisquare|cauchy|t|pmf_(hypergeometric|poisson|binomial)|exponential|f|\nweibull|logistic|laplace|gamma|beta)|\nden_uniform|variance|kurtosis|absolute_deviation|\nrand_(setall|phrase_to_seeds|ranf|get_seeds|\ngen_(noncentral_[ft]|noncenral_chisquare|normal|chisquare|t|int|\ni(uniform|poisson|binomial(_negative)?)|exponential|f(uniform)?|gamma|beta))\n)\\b", + "match": "(?xi)\\b\nstats_(\n harmonic_mean|covariance|standard_deviation|skew|\n cdf_(noncentral_(chisquare|f)|negative_binomial|chisquare|cauchy|t|uniform|poisson|exponential|f|weibull|\n logistic|laplace|gamma|binomial|beta)|\n stat_(noncentral_t|correlation|innerproduct|independent_t|powersum|percentile|paired_t|gennch|binomial_coef)|\n dens_(normal|negative_binomial|chisquare|cauchy|t|pmf_(hypergeometric|poisson|binomial)|exponential|f|\n weibull|logistic|laplace|gamma|beta)|\n den_uniform|variance|kurtosis|absolute_deviation|\n rand_(setall|phrase_to_seeds|ranf|get_seeds|\n gen_(noncentral_[ft]|noncenral_chisquare|normal|chisquare|t|int|\n i(uniform|poisson|binomial(_negative)?)|exponential|f(uniform)?|gamma|beta))\n)\\b", "name": "support.function.stats.php" }, { - "match": "(?xi)\\b\n(\nset_socket_blocking|\nstream_(socket_(shutdown|sendto|server|client|pair|enable_crypto|accept|recvfrom|get_name)|\nset_(chunk_size|timeout|(read|write)_buffer|blocking)|select|notification_callback|supports_lock|\ncontext_(set_(option|default|params)|create|get_(options|default|params))|copy_to_stream|is_local|\nencoding|filter_(append|prepend|register|remove)|wrapper_((un)?register|restore)|\nresolve_include_path|register_wrapper|get_(contents|transports|filters|wrappers|line|meta_data)|\nbucket_(new|prepend|append|make_writeable)\n)\n)\\b", + "match": "(?xi)\\b\n(\n set_socket_blocking|\n stream_(socket_(shutdown|sendto|server|client|pair|enable_crypto|accept|recvfrom|get_name)|\n set_(chunk_size|timeout|(read|write)_buffer|blocking)|select|notification_callback|supports_lock|\n context_(set_(option|default|params)|create|get_(options|default|params))|copy_to_stream|is_local|\n encoding|filter_(append|prepend|register|remove)|wrapper_((un)?register|restore)|\n resolve_include_path|register_wrapper|get_(contents|transports|filters|wrappers|line|meta_data)|\n bucket_(new|prepend|append|make_writeable)\n )\n)\\b", "name": "support.function.streamsfuncs.php" }, { - "match": "(?xi)\\b\n(\nmoney_format|md5(_file)?|metaphone|bin2hex|sscanf|sha1(_file)?|\nstr(str|c?spn|n(at)?(case)?cmp|chr|coll|(case)?cmp|to(upper|lower)|tok|tr|istr|pos|pbrk|len|rchr|ri?pos|rev)|\nstr_(getcsv|ireplace|pad|repeat|replace|rot13|shuffle|split|word_count)|\nstrip(c?slashes|os)|strip_tags|similar_text|soundex|substr(_(count|compare|replace))?|setlocale|\nhtml(specialchars(_decode)?|entities)|html_entity_decode|hex2bin|hebrev(c)?|number_format|nl2br|nl_langinfo|\nchop|chunk_split|chr|convert_(cyr_string|uu(decode|encode))|count_chars|crypt|crc32|trim|implode|ord|\nuc(first|words)|join|parse_str|print(f)?|echo|explode|v?[fs]?printf|quoted_printable_(decode|encode)|\nquotemeta|wordwrap|lcfirst|[lr]trim|localeconv|levenshtein|addc?slashes|get_html_translation_table\n)\\b", + "match": "(?xi)\\b\n(\n money_format|md5(_file)?|metaphone|bin2hex|sscanf|sha1(_file)?|\n str(str|c?spn|n(at)?(case)?cmp|chr|coll|(case)?cmp|to(upper|lower)|tok|tr|istr|pos|pbrk|len|rchr|ri?pos|rev)|\n str_(getcsv|ireplace|pad|repeat|replace|rot13|shuffle|split|word_count)|\n strip(c?slashes|os)|strip_tags|similar_text|soundex|substr(_(count|compare|replace))?|setlocale|\n html(specialchars(_decode)?|entities)|html_entity_decode|hex2bin|hebrev(c)?|number_format|nl2br|nl_langinfo|\n chop|chunk_split|chr|convert_(cyr_string|uu(decode|encode))|count_chars|crypt|crc32|trim|implode|ord|\n uc(first|words)|join|parse_str|print(f)?|echo|explode|v?[fs]?printf|quoted_printable_(decode|encode)|\n quotemeta|wordwrap|lcfirst|[lr]trim|localeconv|levenshtein|addc?slashes|get_html_translation_table\n)\\b", "name": "support.function.string.php" }, { - "match": "(?xi)\\b\nsybase_(\nset_message_handler|select_db|num_(fields|rows)|connect|close|deadlock_retry_count|data_seek|\nunbuffered_query|pconnect|query|field_seek|fetch_(object|field|assoc|array|row)|free_result|\naffected_rows|result|get_last_message|min_(client|error|message|server)_severity\n)\\b", + "match": "(?xi)\\b\nsybase_(\n set_message_handler|select_db|num_(fields|rows)|connect|close|deadlock_retry_count|data_seek|\n unbuffered_query|pconnect|query|field_seek|fetch_(object|field|assoc|array|row)|free_result|\n affected_rows|result|get_last_message|min_(client|error|message|server)_severity\n)\\b", "name": "support.function.sybase.php" }, { @@ -3713,7 +3713,7 @@ "name": "support.function.taint.php" }, { - "match": "(?xi)\\b\n(\ntidy_((get|set)opt|set_encoding|save_config|config_count|clean_repair|is_(xhtml|xml)|diagnose|\n(access|error|warning)_count|load_config|reset_config|(parse|repair)_(string|file)|\nget_(status|html(_ver)?|head|config|output|opt_doc|root|release|body))|\nob_tidyhandler\n)\\b", + "match": "(?xi)\\b\n(\n tidy_((get|set)opt|set_encoding|save_config|config_count|clean_repair|is_(xhtml|xml)|diagnose|\n (access|error|warning)_count|load_config|reset_config|(parse|repair)_(string|file)|\n get_(status|html(_ver)?|head|config|output|opt_doc|root|release|body))|\n ob_tidyhandler\n)\\b", "name": "support.function.tidy.php" }, { @@ -3721,7 +3721,7 @@ "name": "support.function.tokenizer.php" }, { - "match": "(?xi)\\b\ntrader_(\nstoch(f|r|rsi)?|stddev|sin(h)?|sum|sub|set_(compat|unstable_period)|sqrt|sar(ext)?|sma|\nht_(sine|trend(line|mode)|dc(period|phase)|phasor)|natr|cci|cos(h)?|correl|\ncdl(shootingstar|shortline|sticksandwich|stalledpattern|spinningtop|separatinglines|\nhikkake(mod)?|highwave|homingpigeon|hangingman|harami(cross)?|hammer|concealbabyswall|\ncounterattack|closingmarubozu|thrusting|tasukigap|takuri|tristar|inneck|invertedhammer|\nidentical3crows|2crows|onneck|doji(star)?|darkcloudcover|dragonflydoji|unique3river|\nupsidegap2crows|3(starsinsouth|inside|outside|whitesoldiers|linestrike|blackcrows)|\npiercing|engulfing|evening(doji)?star|kicking(bylength)?|longline|longleggeddoji|\nladderbottom|advanceblock|abandonedbaby|risefall3methods|rickshawman|gapsidesidewhite|\ngravestonedoji|xsidegap3methods|morning(doji)?star|mathold|matchinglow|marubozu|\nbelthold|breakaway)|\nceil|cmo|tsf|typprice|t3|tema|tan(h)?|trix|trima|trange|obv|div|dema|dx|ultosc|ppo|\nplus_d[im]|errno|exp|ema|var|kama|floor|wclprice|willr|wma|ln|log10|bop|beta|bbands|\nlinearreg(_(slope|intercept|angle))?|asin|acos|atan|atr|adosc|ad|add|adx(r)?|apo|avgprice|\naroon(osc)?|rsi|roc|rocp|rocr(100)?|get_(compat|unstable_period)|min(index)?|minus_d[im]|\nminmax(index)?|mid(point|price)|mom|mult|medprice|mfi|macd(ext|fix)?|mavp|max(index)?|ma(ma)?\n)\\b", + "match": "(?xi)\\b\ntrader_(\n stoch(f|r|rsi)?|stddev|sin(h)?|sum|sub|set_(compat|unstable_period)|sqrt|sar(ext)?|sma|\n ht_(sine|trend(line|mode)|dc(period|phase)|phasor)|natr|cci|cos(h)?|correl|\n cdl(shootingstar|shortline|sticksandwich|stalledpattern|spinningtop|separatinglines|\n hikkake(mod)?|highwave|homingpigeon|hangingman|harami(cross)?|hammer|concealbabyswall|\n counterattack|closingmarubozu|thrusting|tasukigap|takuri|tristar|inneck|invertedhammer|\n identical3crows|2crows|onneck|doji(star)?|darkcloudcover|dragonflydoji|unique3river|\n upsidegap2crows|3(starsinsouth|inside|outside|whitesoldiers|linestrike|blackcrows)|\n piercing|engulfing|evening(doji)?star|kicking(bylength)?|longline|longleggeddoji|\n ladderbottom|advanceblock|abandonedbaby|risefall3methods|rickshawman|gapsidesidewhite|\n gravestonedoji|xsidegap3methods|morning(doji)?star|mathold|matchinglow|marubozu|\n belthold|breakaway)|\n ceil|cmo|tsf|typprice|t3|tema|tan(h)?|trix|trima|trange|obv|div|dema|dx|ultosc|ppo|\n plus_d[im]|errno|exp|ema|var|kama|floor|wclprice|willr|wma|ln|log10|bop|beta|bbands|\n linearreg(_(slope|intercept|angle))?|asin|acos|atan|atr|adosc|ad|add|adx(r)?|apo|avgprice|\n aroon(osc)?|rsi|roc|rocp|rocr(100)?|get_(compat|unstable_period)|min(index)?|minus_d[im]|\n minmax(index)?|mid(point|price)|mom|mult|medprice|mfi|macd(ext|fix)?|mavp|max(index)?|ma(ma)?\n)\\b", "name": "support.function.trader.php" }, { @@ -3733,7 +3733,7 @@ "name": "support.function.url.php" }, { - "match": "(?xi)\\b\n(\nstrval|settype|serialize|(bool|double|float)val|debug_zval_dump|intval|import_request_variables|isset|\nis_(scalar|string|null|numeric|callable|int(eger)?|object|double|float|long|array|resource|real|bool)|\nunset|unserialize|print_r|empty|var_(dump|export)|gettype|get_(defined_vars|resource_type)\n)\\b", + "match": "(?xi)\\b\n(\n strval|settype|serialize|(bool|double|float)val|debug_zval_dump|intval|import_request_variables|isset|\n is_(scalar|string|null|numeric|callable|int(eger)?|object|double|float|long|array|resource|real|bool)|\n unset|unserialize|print_r|empty|var_(dump|export)|gettype|get_(defined_vars|resource_type)\n)\\b", "name": "support.function.var.php" }, { @@ -3745,19 +3745,19 @@ "name": "support.function.xhprof.php" }, { - "match": "(?xi)\n\\b\n(\nutf8_(decode|encode)|\nxml_(set_((notation|(end|start)_namespace|unparsed_entity)_decl_handler|\n(character_data|default|element|external_entity_ref|processing_instruction)_handler|object)|\nparse(_into_struct)?|parser_((get|set)_option|create(_ns)?|free)|error_string|\nget_(current_((column|line)_number|byte_index)|error_code))\n)\\b", + "match": "(?xi)\n\\b\n(\n utf8_(decode|encode)|\n xml_(set_((notation|(end|start)_namespace|unparsed_entity)_decl_handler|\n (character_data|default|element|external_entity_ref|processing_instruction)_handler|object)|\n parse(_into_struct)?|parser_((get|set)_option|create(_ns)?|free)|error_string|\n get_(current_((column|line)_number|byte_index)|error_code))\n)\\b", "name": "support.function.xml.php" }, { - "match": "(?xi)\\b\nxmlrpc_(\nserver_(call_method|create|destroy|add_introspection_data|register_(introspection_callback|method))|\nis_fault|decode(_request)?|parse_method_descriptions|encode(_request)?|(get|set)_type\n)\\b", + "match": "(?xi)\\b\nxmlrpc_(\n server_(call_method|create|destroy|add_introspection_data|register_(introspection_callback|method))|\n is_fault|decode(_request)?|parse_method_descriptions|encode(_request)?|(get|set)_type\n)\\b", "name": "support.function.xmlrpc.php" }, { - "match": "(?xi)\\b\nxmlwriter_(\n(end|start|write)_(comment|cdata|dtd(_(attlist|entity|element))?|document|pi|attribute|element)|\n(start|write)_(attribute|element)_ns|write_raw|set_indent(_string)?|text|output_memory|open_(memory|uri)|\nfull_end_element|flush|\n)\\b", + "match": "(?xi)\\b\nxmlwriter_(\n (end|start|write)_(comment|cdata|dtd(_(attlist|entity|element))?|document|pi|attribute|element)|\n (start|write)_(attribute|element)_ns|write_raw|set_indent(_string)?|text|output_memory|open_(memory|uri)|\n full_end_element|flush|\n)\\b", "name": "support.function.xmlwriter.php" }, { - "match": "(?xi)\\b\n(\nzlib_(decode|encode|get_coding_type)|readgzfile|\ngz(seek|compress|close|tell|inflate|open|decode|deflate|uncompress|puts|passthru|encode|eof|file|\nwrite|rewind|read|getc|getss?)\n)\\b", + "match": "(?xi)\\b\n(\n zlib_(decode|encode|get_coding_type)|readgzfile|\n gz(seek|compress|close|tell|inflate|open|decode|deflate|uncompress|puts|passthru|encode|eof|file|\n write|rewind|read|getc|getss?)\n)\\b", "name": "support.function.zlib.php" }, { @@ -3967,7 +3967,7 @@ "name": "punctuation.definition.variable.php" } }, - "match": "(?xi)\n((\\$)(?<name>[a-z_\\x{7f}-\\x{10ffff}][a-z0-9_\\x{7f}-\\x{10ffff}]*))\\s*\n(?:\n(\\??->)\\s*(\\g<name>)\n|\n(\\[)(?:(\\d+)|((\\$)\\g<name>)|([a-z_\\x{7f}-\\x{10ffff}][a-z0-9_\\x{7f}-\\x{10ffff}]*))(\\])\n)?" + "match": "(?xi)\n((\\$)(?<name>[a-z_\\x{7f}-\\x{10ffff}][a-z0-9_\\x{7f}-\\x{10ffff}]*))\\s*\n(?:\n (\\??->)\\s*(\\g<name>)\n |\n (\\[)(?:(\\d+)|((\\$)\\g<name>)|([a-z_\\x{7f}-\\x{10ffff}][a-z0-9_\\x{7f}-\\x{10ffff}]*))(\\])\n)?" }, { "captures": { diff --git a/packages/tm-grammars/grammars/powerquery.json b/packages/tm-grammars/grammars/powerquery.json index 1d134f4..ec73c26 100644 --- a/packages/tm-grammars/grammars/powerquery.json +++ b/packages/tm-grammars/grammars/powerquery.json @@ -105,7 +105,7 @@ "name": "entity.name.powerquery" } }, - "match": "(?x:(?<![\\._\\p{Lu}\\p{Ll}\\p{Lt}\\p{Lm}\\p{Lo}\\p{Nl}\\p{Nd}\\p{Pc}\\p{Mn}\\p{Mc}\\p{Cf}])(@?)([_\\p{Lu}\\p{Ll}\\p{Lt}\\p{Lm}\\p{Lo}\\p{Nl}][_\\p{Lu}\\p{Ll}\\p{Lt}\\p{Lm}\\p{Lo}\\p{Nl}\\p{Nd}\\p{Pc}\\p{Mn}\\p{Mc}\\p{Cf}]*(?:\\.[_\\p{Lu}\\p{Ll}\\p{Lt}\\p{Lm}\\p{Lo}\\p{Nl}][_\\p{Lu}\\p{Ll}\\p{Lt}\\p{Lm}\\p{Lo}\\p{Nl}\\p{Nd}\\p{Pc}\\p{Mn}\\p{Mc}\\p{Cf}])*)\\b)" + "match": "(?:(?<![\\._\\p{Lu}\\p{Ll}\\p{Lt}\\p{Lm}\\p{Lo}\\p{Nl}\\p{Nd}\\p{Pc}\\p{Mn}\\p{Mc}\\p{Cf}])(@?)([_\\p{Lu}\\p{Ll}\\p{Lt}\\p{Lm}\\p{Lo}\\p{Nl}][_\\p{Lu}\\p{Ll}\\p{Lt}\\p{Lm}\\p{Lo}\\p{Nl}\\p{Nd}\\p{Pc}\\p{Mn}\\p{Mc}\\p{Cf}]*(?:\\.[_\\p{Lu}\\p{Ll}\\p{Lt}\\p{Lm}\\p{Lo}\\p{Nl}][_\\p{Lu}\\p{Ll}\\p{Lt}\\p{Lm}\\p{Lo}\\p{Nl}\\p{Nd}\\p{Pc}\\p{Mn}\\p{Mc}\\p{Cf}])*)\\b)" }, "ImplicitVariable": { "match": "\\b_\\b", diff --git a/packages/tm-grammars/grammars/puppet.json b/packages/tm-grammars/grammars/puppet.json index 72c848f..ad9b1cf 100644 --- a/packages/tm-grammars/grammars/puppet.json +++ b/packages/tm-grammars/grammars/puppet.json @@ -44,7 +44,7 @@ ] }, { - "begin": "\\b(class)\\s+((?#Qualified Resource Name)(?:[a-z][a-z0-9_]*)?(?:::[a-z][a-z0-9_]*)+|(?#Bareword Resource Name)[a-z][a-z0-9_]*)\\s*", + "begin": "\\b(class)\\s+((?:[a-z][a-z0-9_]*)?(?:::[a-z][a-z0-9_]*)+|[a-z][a-z0-9_]*)\\s*", "captures": { "1": { "name": "storage.type.puppet" @@ -84,7 +84,7 @@ ] }, { - "begin": "^\\s*(plan)\\s+((?#Qualified Resource Name)(?:[a-z][a-z0-9_]*)?(?:::[a-z][a-z0-9_]*)+|(?#Bareword Resource Name)[a-z][a-z0-9_]*)\\s*", + "begin": "^\\s*(plan)\\s+((?:[a-z][a-z0-9_]*)?(?:::[a-z][a-z0-9_]*)+|[a-z][a-z0-9_]*)\\s*", "captures": { "1": { "name": "storage.type.puppet" @@ -108,7 +108,7 @@ ] }, { - "begin": "^\\s*(define|function)\\s+((?#Bareword Resource Name)[a-z][a-z0-9_]*|(?#Qualified Resource Name)(?:[a-z][a-z0-9_]*)?(?:::[a-z][a-z0-9_]*)+)\\s*(\\()", + "begin": "^\\s*(define|function)\\s+([a-z][a-z0-9_]*|(?:[a-z][a-z0-9_]*)?(?:::[a-z][a-z0-9_]*)+)\\s*(\\()", "captures": { "1": { "name": "storage.type.function.puppet" @@ -654,7 +654,7 @@ "name": "string.regexp.literal.puppet" }, "resource-definition": { - "begin": "(?:^|\\b)((?#Toplevel Bareword)::[a-z][a-z0-9_]*|(?#Bareword Resource Name)[a-z][a-z0-9_]*|(?#Qualified Resource Name)(?:[a-z][a-z0-9_]*)?(?:::[a-z][a-z0-9_]*)+)\\s*({)\\s*", + "begin": "(?:^|\\b)(::[a-z][a-z0-9_]*|[a-z][a-z0-9_]*|(?:[a-z][a-z0-9_]*)?(?:::[a-z][a-z0-9_]*)+)\\s*({)\\s*", "beginCaptures": { "1": { "name": "meta.definition.resource.puppet storage.type.puppet" diff --git a/packages/tm-grammars/grammars/python.json b/packages/tm-grammars/grammars/python.json index 1bc0f53..db38c18 100644 --- a/packages/tm-grammars/grammars/python.json +++ b/packages/tm-grammars/grammars/python.json @@ -96,7 +96,7 @@ ] }, "builtin-types": { - "match": "(?<!\\.)\\b(bool|bytearray|bytes|classmethod|complex|dict|float|frozenset|int|list|object|property|set|slice|staticmethod|str|tuple|type(?#Although'super'isnotatype,it'srelatedtotypes,andisspecialenoughtobehighlighteddifferentlyfromotherbuilt-ins)|super)\\b", + "match": "(?<!\\.)\\b(bool|bytearray|bytes|classmethod|complex|dict|float|frozenset|int|list|object|property|set|slice|staticmethod|str|tuple|type|super)\\b", "name": "support.type.python" }, "call-wrapper-inheritance": { @@ -232,7 +232,7 @@ "comments": { "patterns": [ { - "begin": "(?:\\#\\s*(type:)\\s*+(?#wewant`\\s*+`whichispossessivequantifiersincewedonotactuallywanttobacktrackwhenmatchingwhitespacehere)(?!$|\\#))", + "begin": "(?:\\#\\s*(type:)\\s*+(?!$|\\#))", "beginCaptures": { "0": { "name": "meta.typehint.comment.python" @@ -529,7 +529,7 @@ "name": "keyword.control.flow.python" } }, - "match": "(?:(?:^|\\G)\\s*(?#'\\G'isnecessaryforST)((?:>>>|\\.\\.\\.)\\s)(?=\\s*\\S))" + "match": "(?:(?:^|\\G)\\s*((?:>>>|\\.\\.\\.)\\s)(?=\\s*\\S))" }, "docstring-statement": { "begin": "^(?=\\s*[rR]?(\\'\\'\\'|\\\"\\\"\\\"|\\'|\\\"))", @@ -544,7 +544,7 @@ "double-one-regexp-character-set": { "patterns": [ { - "match": "\\[\\s\\^?\\s\\](?!.*?\\])" + "match": "\\[\\^?\\](?!.*?\\])" }, { "begin": "(\\[)(\\^)?(\\])?", @@ -845,7 +845,7 @@ "double-three-regexp-character-set": { "patterns": [ { - "match": "\\[\\s\\^?\\s\\](?!.*?\\])" + "match": "\\[\\^?\\](?!.*?\\])" }, { "begin": "(\\[)(\\^)?(\\])?", @@ -1513,7 +1513,7 @@ ] }, "fstring-multi-core": { - "match": "(.+?)((?#.*and.*?inmulti-linematchneedspecialhandlingofnewlinesotherwiseSublimeTextandAtomwillmatchslightlydifferently.Theguardfornewlineshastobeseparatefromthelookaheadbecauseofspecial$matchingrule.)($\\n?)|(?=[\\\\\\}\\{]|'''|\"\"\"))(?#duetohowmultilineregexpsarematchedweneedaspecialcaseformatchinganewlinecharacter)|\\n", + "match": "(.+?)(($\\n?)|(?=[\\\\\\}\\{]|'''|\"\"\"))|\\n", "name": "string.interpolated.python string.quoted.multi.python" }, "fstring-normf-quoted-multi-line": { @@ -1603,7 +1603,7 @@ ] }, "fstring-raw-multi-core": { - "match": "(.+?)((?#.*and.*?inmulti-linematchneedspecialhandlingofnewlinesotherwiseSublimeTextandAtomwillmatchslightlydifferently.Theguardfornewlineshastobeseparatefromthelookaheadbecauseofspecial$matchingrule.)($\\n?)|(?=[\\\\\\}\\{]|'''|\"\"\"))(?#duetohowmultilineregexpsarematchedweneedaspecialcaseformatchinganewlinecharacter)|\\n", + "match": "(.+?)(($\\n?)|(?=[\\\\\\}\\{]|'''|\"\"\"))|\\n", "name": "string.interpolated.python string.quoted.raw.multi.python" }, "fstring-raw-quoted-multi-line": { @@ -1677,7 +1677,7 @@ ] }, "fstring-raw-single-core": { - "match": "(.+?)((?#.*and.*?inmulti-linematchneedspecialhandlingofnewlinesotherwiseSublimeTextandAtomwillmatchslightlydifferently.Theguardfornewlineshastobeseparatefromthelookaheadbecauseofspecial$matchingrule.)($\\n?)|(?=[\\\\\\}\\{]|(['\"])|((?<!\\\\)\\n)))(?#duetohowmultilineregexpsarematchedweneedaspecialcaseformatchinganewlinecharacter)|\\n", + "match": "(.+?)(($\\n?)|(?=[\\\\\\}\\{]|(['\"])|((?<!\\\\)\\n)))|\\n", "name": "string.interpolated.python string.quoted.raw.single.python" }, "fstring-single-brace": { @@ -1704,7 +1704,7 @@ ] }, "fstring-single-core": { - "match": "(.+?)((?#.*and.*?inmulti-linematchneedspecialhandlingofnewlinesotherwiseSublimeTextandAtomwillmatchslightlydifferently.Theguardfornewlineshastobeseparatefromthelookaheadbecauseofspecial$matchingrule.)($\\n?)|(?=[\\\\\\}\\{]|(['\"])|((?<!\\\\)\\n)))(?#duetohowmultilineregexpsarematchedweneedaspecialcaseformatchinganewlinecharacter)|\\n", + "match": "(.+?)(($\\n?)|(?=[\\\\\\}\\{]|(['\"])|((?<!\\\\)\\n)))|\\n", "name": "string.interpolated.python string.quoted.single.python" }, "fstring-terminator-multi": { @@ -1726,7 +1726,7 @@ "name": "storage.type.format.python" } }, - "match": "((?:=?)(?:![rsa])?)(:\\w?[<>=^]?[-+\\s]?\\#?\\d*,?(\\.\\d+)?[bcdeEfFgGnosxX%]?)(?=})" + "match": "((?:=?)(?:![rsa])?)(:\\w?[<>=^]?[-+ ]?\\#?\\d*,?(\\.\\d+)?[bcdeEfFgGnosxX%]?)(?=})" }, { "include": "#fstring-terminator-multi-tail" @@ -1804,7 +1804,7 @@ "name": "storage.type.format.python" } }, - "match": "((?:=?)(?:![rsa])?)(:\\w?[<>=^]?[-+\\s]?\\#?\\d*,?(\\.\\d+)?[bcdeEfFgGnosxX%]?)(?=})" + "match": "((?:=?)(?:![rsa])?)(:\\w?[<>=^]?[-+ ]?\\#?\\d*,?(\\.\\d+)?[bcdeEfFgGnosxX%]?)(?=})" }, { "include": "#fstring-terminator-single-tail" @@ -2317,7 +2317,7 @@ "name": "punctuation.separator.continuation.line.python" } }, - "end": "(?=^\\s*$)|(?!(\\s*[rR]?(\\'\\'\\'|\\\"\\\"\\\"|\\'|\\\"))|(\\G$)(?#'\\G'isnecessaryforST))", + "end": "(?=^\\s*$)|(?!(\\s*[rR]?(\\'\\'\\'|\\\"\\\"\\\"|\\'|\\\"))|(\\G$))", "patterns": [ { "include": "#regexp" @@ -2596,7 +2596,7 @@ "name": "keyword.operator.assignment.python" } }, - "match": "\\b(?<!\\.)(?:(and|or|not|in|is)(?#1)|(for|if|else|await|(?:yield(?:\\s+from)?))(?#2))(?!\\s*:)\\b|(<<|>>|&|\\||\\^|~)(?#3)|(\\*\\*|\\*|\\+|-|%|//|/|@)(?#4)|(!=|==|>=|<=|<|>)(?#5)|(:=)(?#6)" + "match": "\\b(?<!\\.)(?:(and|or|not|in|is)|(for|if|else|await|(?:yield(?:\\s+from)?)))(?!\\s*:)\\b|(<<|>>|&|\\||\\^|~)|(\\*\\*|\\*|\\+|-|%|//|/|@)|(!=|==|>=|<=|<|>)|(:=)" }, "parameter-special": { "captures": { @@ -3000,7 +3000,7 @@ "single-one-regexp-character-set": { "patterns": [ { - "match": "\\[\\s\\^?\\s\\](?!.*?\\])" + "match": "\\[\\^?\\](?!.*?\\])" }, { "begin": "(\\[)(\\^)?(\\])?", @@ -3301,7 +3301,7 @@ "single-three-regexp-character-set": { "patterns": [ { - "match": "\\[\\s\\^?\\s\\](?!.*?\\])" + "match": "\\[\\^?\\](?!.*?\\])" }, { "begin": "(\\[)(\\^)?(\\])?", @@ -3822,7 +3822,7 @@ "name": "storage.type.format.python" } }, - "match": "({{|}}|(?:{\\w*(\\.[A-Za-z_]\\w*|\\[[^\\]'\"]+\\])*(![rsa])?(:\\w?[<>=^]?[-+\\s]?\\#?\\d*,?(\\.\\d+)?[bcdeEfFgGnosxX%]?)?}))", + "match": "({{|}}|(?:{\\w*(\\.[A-Za-z_]\\w*|\\[[^\\]'\"]+\\])*(![rsa])?(:\\w?[<>=^]?[-+ ]?\\#?\\d*,?(\\.\\d+)?[bcdeEfFgGnosxX%]?)?}))", "name": "meta.format.brace.python" }, { @@ -3864,7 +3864,7 @@ "name": "constant.character.format.placeholder.other.python" } }, - "match": "(%(\\([\\w\\s]*\\))?[-+#0\\s]*(\\d+|\\*)?(\\.(\\d+|\\*))?([hlL])?[diouxXeEfFgGcrsab%])", + "match": "(%(\\([\\w\\s]*\\))?[-+#0 ]*(\\d+|\\*)?(\\.(\\d+|\\*))?([hlL])?[diouxXeEfFgGcrsab%])", "name": "meta.format.percent.python" }, "string-line-continuation": { diff --git a/packages/tm-grammars/grammars/racket.json b/packages/tm-grammars/grammars/racket.json index 435792e..3bebcc0 100644 --- a/packages/tm-grammars/grammars/racket.json +++ b/packages/tm-grammars/grammars/racket.json @@ -1,8 +1,5 @@ { "displayName": "Racket", - "filetypes": [ - "rkt" - ], "name": "racket", "patterns": [ { @@ -43,7 +40,7 @@ "argument": { "patterns": [ { - "begin": "(?x) (?<=[(\\[{]) \\s* (\\|)", + "begin": "(?<=[(\\[{])\\s*(\\|)", "beginCaptures": { "1": { "name": "punctuation.verbatim.begin.racket" @@ -56,7 +53,7 @@ } }, { - "begin": "(?x) (?<=[(\\[{]) \\s*\n (\\#% | \\\\\\ | [^\\#()\\[\\]{}\",'`;\\s])\n", + "begin": "(?<=[(\\[{])\\s*(\\#%|\\\\\\ |[^\\#()\\[\\]{}\",'`;\\s])", "beginCaptures": { "1": { "name": "variable.parameter.racket" @@ -85,7 +82,7 @@ "argument-struct": { "patterns": [ { - "begin": "(?x) (?<=[(\\[{]) \\s* (\\|)", + "begin": "(?<=[(\\[{])\\s*(\\|)", "beginCaptures": { "1": { "name": "punctuation.verbatim.begin.racket" @@ -98,7 +95,7 @@ } }, { - "begin": "(?x) (?<=[(\\[{]) \\s*\n (\\#% | \\\\\\ | [^\\#()\\[\\]{}\",'`;\\s])\n", + "begin": "(?<=[(\\[{])\\s*(\\#%|\\\\\\ |[^\\#()\\[\\]{}\",'`;\\s])", "beginCaptures": { "1": { "name": "variable.other.member.racket" @@ -180,7 +177,7 @@ "binding": { "patterns": [ { - "begin": "(?x) (?<=[(\\[{]) \\s* (\\|)", + "begin": "(?<=[(\\[{])\\s*(\\|)", "beginCaptures": { "1": { "name": "punctuation.verbatim.begin.racket" @@ -193,7 +190,7 @@ } }, { - "begin": "(?x) (?<=[(\\[{]) \\s*\n (\\#% | \\\\\\ | [^\\#()\\[\\]{}\",'`;\\s])\n", + "begin": "(?<=[(\\[{])\\s*(\\#%|\\\\\\ |[^\\#()\\[\\]{}\",'`;\\s])", "beginCaptures": { "1": { "name": "entity.name.constant" @@ -222,7 +219,7 @@ "bool": { "patterns": [ { - "match": "(?x)\n (?<=^|[()\\[\\]{}\",'`;\\s]) \\#\n (?: [tT](?: rue)?|[fF](?: alse)?)\n (?=[()\\[\\]{}\",'`;\\s])\n", + "match": "(?<=^|[()\\[\\]{}\",'`;\\s])\\#(?:[tT](?:rue)?|[fF](?:alse)?)(?=[()\\[\\]{}\",'`;\\s])", "name": "constant.language.racket" } ] @@ -247,7 +244,7 @@ "name": "support.function.racket" } }, - "match": "(?x) (?<=$|[()\\[\\]{}\",'`;\\s])\n(\n\\.\\.\\. | _ | syntax-id-rules | syntax-rules | \\#%app | \\#%datum | \\#%declare | \\#%expression | \\#%module-begin | \\#%plain-app | \\#%plain-lambda | \\#%plain-module-begin | \\#%printing-module-begin | \\#%provide | \\#%require | \\#%stratified-body | \\#%top | \\#%top-interaction | \\#%variable-reference | \\.\\.\\. | :do-in | => | _ | all-defined-out | all-from-out | and | apply | arity-at-least | begin | begin-for-syntax | begin0 | call-with-input-file | call-with-input-file\\* | call-with-output-file | call-with-output-file\\* | case | case-lambda | combine-in | combine-out | cond | date | date\\* | define | define-for-syntax | define-logger | define-namespace-anchor | define-sequence-syntax | define-struct | define-struct\\/derived | define-syntax | define-syntax-rule | define-syntaxes | define-values | define-values-for-syntax | do | else | except-in | except-out | exn | exn:break | exn:break:hang-up | exn:break:terminate | exn:fail | exn:fail:contract | exn:fail:contract:arity | exn:fail:contract:continuation | exn:fail:contract:divide-by-zero | exn:fail:contract:non-fixnum-result | exn:fail:contract:variable | exn:fail:filesystem | exn:fail:filesystem:errno | exn:fail:filesystem:exists | exn:fail:filesystem:missing-module | exn:fail:filesystem:version | exn:fail:network | exn:fail:network:errno | exn:fail:out-of-memory | exn:fail:read | exn:fail:read:eof | exn:fail:read:non-char | exn:fail:syntax | exn:fail:syntax:missing-module | exn:fail:syntax:unbound | exn:fail:unsupported | exn:fail:user | file | for | for\\* | for\\*\\/and | for\\*\\/first | for\\*\\/fold | for\\*\\/fold\\/derived | for\\*\\/hash | for\\*\\/hasheq | for\\*\\/hasheqv | for\\*\\/last | for\\*\\/list | for\\*\\/lists | for\\*\\/or | for\\*\\/product | for\\*\\/sum | for\\*\\/vector | for-label | for-meta | for-syntax | for-template | for\\/and | for\\/first | for\\/fold | for\\/fold\\/derived | for\\/hash | for\\/hasheq | for\\/hasheqv | for\\/last | for\\/list | for\\/lists | for\\/or | for\\/product | for\\/sum | for\\/vector | gen:custom-write | gen:equal\\+hash | if | in-bytes | in-bytes-lines | in-directory | in-hash | in-hash-keys | in-hash-pairs | in-hash-values | in-immutable-hash | in-immutable-hash-keys | in-immutable-hash-pairs | in-immutable-hash-values | in-indexed | in-input-port-bytes | in-input-port-chars | in-lines | in-list | in-mlist | in-mutable-hash | in-mutable-hash-keys | in-mutable-hash-pairs | in-mutable-hash-values | in-naturals | in-port | in-producer | in-range | in-string | in-value | in-vector | in-weak-hash | in-weak-hash-keys | in-weak-hash-pairs | in-weak-hash-values | lambda | let | let\\* | let\\*-values | let-syntax | let-syntaxes | let-values | let\\/cc | let\\/ec | letrec | letrec-syntax | letrec-syntaxes | letrec-syntaxes\\+values | letrec-values | lib | local-require | log-debug | log-error | log-fatal | log-info | log-warning | module | module\\* | module\\+ | only-in | only-meta-in | open-input-file | open-input-output-file | open-output-file | or | parameterize | parameterize\\* | parameterize-break | planet | prefix-in | prefix-out | protect-out | provide | quasiquote | quasisyntax | quasisyntax\\/loc | quote | quote-syntax | quote-syntax\\/prune | regexp-match\\* | regexp-match-peek-positions\\* | regexp-match-positions\\* | relative-in | rename-in | rename-out | require | set! | set!-values | sort | srcloc | struct | struct-copy | struct-field-index | struct-out | submod | syntax | syntax-case | syntax-case\\* | syntax-id-rules | syntax-rules | syntax\\/loc | time | unless | unquote | unquote-splicing | unsyntax | unsyntax-splicing | when | with-continuation-mark | with-handlers | with-handlers\\* | with-input-from-file | with-output-to-file | with-syntax | λ | \\#%app | \\#%datum | \\#%declare | \\#%expression | \\#%module-begin | \\#%plain-app | \\#%plain-lambda | \\#%plain-module-begin | \\#%printing-module-begin | \\#%provide | \\#%require | \\#%stratified-body | \\#%top | \\#%top-interaction | \\#%variable-reference | -> | ->\\* | ->\\*m | ->d | ->dm | ->i | ->m | \\.\\.\\. | :do-in | <=\\/c | =\\/c | == | => | >=\\/c | _ | absent | abstract | add-between | all-defined-out | all-from-out | and | and\\/c | any | any\\/c | apply | arity-at-least | arrow-contract-info | augment | augment\\* | augment-final | augment-final\\* | augride | augride\\* | bad-number-of-results | begin | begin-for-syntax | begin0 | between\\/c | blame-add-context | box-immutable\\/c | box\\/c | call-with-atomic-output-file | call-with-file-lock\\/timeout | call-with-input-file | call-with-input-file\\* | call-with-output-file | call-with-output-file\\* | case | case-> | case->m | case-lambda | channel\\/c | char-in\\/c | check-duplicates | class | class\\* | class-field-accessor | class-field-mutator | class\\/c | class\\/derived | combine-in | combine-out | command-line | compound-unit | compound-unit\\/infer | cond | cons\\/c | cons\\/dc | continuation-mark-key\\/c | contract | contract-exercise | contract-out | contract-struct | contracted | copy-directory\\/files | current-contract-region | date | date\\* | define | define-compound-unit | define-compound-unit\\/infer | define-contract-struct | define-custom-hash-types | define-custom-set-types | define-for-syntax | define-local-member-name | define-logger | define-match-expander | define-member-name | define-module-boundary-contract | define-namespace-anchor | define-opt\\/c | define-sequence-syntax | define-serializable-class | define-serializable-class\\* | define-signature | define-signature-form | define-struct | define-struct\\/contract | define-struct\\/derived | define-syntax | define-syntax-rule | define-syntaxes | define-unit | define-unit-binding | define-unit-from-context | define-unit\\/contract | define-unit\\/new-import-export | define-unit\\/s | define-values | define-values-for-export | define-values-for-syntax | define-values\\/invoke-unit | define-values\\/invoke-unit\\/infer | define\\/augment | define\\/augment-final | define\\/augride | define\\/contract | define\\/final-prop | define\\/match | define\\/overment | define\\/override | define\\/override-final | define\\/private | define\\/public | define\\/public-final | define\\/pubment | define\\/subexpression-pos-prop | define\\/subexpression-pos-prop\\/name | delay | delay\\/idle | delay\\/name | delay\\/strict | delay\\/sync | delay\\/thread | delete-directory\\/files | dict->list | dict-can-functional-set\\? | dict-can-remove-keys\\? | dict-clear | dict-clear! | dict-copy | dict-count | dict-empty\\? | dict-for-each | dict-has-key\\? | dict-implements\\/c | dict-implements\\? | dict-iterate-first | dict-iterate-key | dict-iterate-next | dict-iterate-value | dict-keys | dict-map | dict-mutable\\? | dict-ref | dict-ref! | dict-remove | dict-remove! | dict-set | dict-set! | dict-set\\* | dict-set\\*! | dict-update | dict-update! | dict-values | dict\\? | display-lines | display-lines-to-file | display-to-file | do | dynamic->\\* | dynamic-place | dynamic-place\\* | else | eof-evt | except | except-in | except-out | exn | exn:break | exn:break:hang-up | exn:break:terminate | exn:fail | exn:fail:contract | exn:fail:contract:arity | exn:fail:contract:blame | exn:fail:contract:continuation | exn:fail:contract:divide-by-zero | exn:fail:contract:non-fixnum-result | exn:fail:contract:variable | exn:fail:filesystem | exn:fail:filesystem:errno | exn:fail:filesystem:exists | exn:fail:filesystem:missing-module | exn:fail:filesystem:version | exn:fail:network | exn:fail:network:errno | exn:fail:object | exn:fail:out-of-memory | exn:fail:read | exn:fail:read:eof | exn:fail:read:non-char | exn:fail:syntax | exn:fail:syntax:missing-module | exn:fail:syntax:unbound | exn:fail:unsupported | exn:fail:user | export | extends | failure-cont | field | field-bound\\? | file | file->bytes | file->bytes-lines | file->lines | file->list | file->string | file->value | find-files | find-relative-path | first-or\\/c | flat-contract-with-explanation | flat-murec-contract | flat-rec-contract | for | for\\* | for\\*\\/and | for\\*\\/async | for\\*\\/first | for\\*\\/fold | for\\*\\/fold\\/derived | for\\*\\/hash | for\\*\\/hasheq | for\\*\\/hasheqv | for\\*\\/last | for\\*\\/list | for\\*\\/lists | for\\*\\/mutable-set | for\\*\\/mutable-seteq | for\\*\\/mutable-seteqv | for\\*\\/or | for\\*\\/product | for\\*\\/set | for\\*\\/seteq | for\\*\\/seteqv | for\\*\\/stream | for\\*\\/sum | for\\*\\/vector | for\\*\\/weak-set | for\\*\\/weak-seteq | for\\*\\/weak-seteqv | for-label | for-meta | for-syntax | for-template | for\\/and | for\\/async | for\\/first | for\\/fold | for\\/fold\\/derived | for\\/hash | for\\/hasheq | for\\/hasheqv | for\\/last | for\\/list | for\\/lists | for\\/mutable-set | for\\/mutable-seteq | for\\/mutable-seteqv | for\\/or | for\\/product | for\\/set | for\\/seteq | for\\/seteqv | for\\/stream | for\\/sum | for\\/vector | for\\/weak-set | for\\/weak-seteq | for\\/weak-seteqv | gen:custom-write | gen:dict | gen:equal\\+hash | gen:set | gen:stream | generic | get-field | get-preference | hash\\/c | hash\\/dc | if | implies | import | in-bytes | in-bytes-lines | in-dict | in-dict-keys | in-dict-values | in-directory | in-hash | in-hash-keys | in-hash-pairs | in-hash-values | in-immutable-hash | in-immutable-hash-keys | in-immutable-hash-pairs | in-immutable-hash-values | in-immutable-set | in-indexed | in-input-port-bytes | in-input-port-chars | in-lines | in-list | in-mlist | in-mutable-hash | in-mutable-hash-keys | in-mutable-hash-pairs | in-mutable-hash-values | in-mutable-set | in-naturals | in-port | in-producer | in-range | in-set | in-slice | in-stream | in-string | in-syntax | in-value | in-vector | in-weak-hash | in-weak-hash-keys | in-weak-hash-pairs | in-weak-hash-values | in-weak-set | include | include-at\\/relative-to | include-at\\/relative-to\\/reader | include\\/reader | inherit | inherit-field | inherit\\/inner | inherit\\/super | init | init-depend | init-field | init-rest | inner | inspect | instantiate | integer-in | interface | interface\\* | invariant-assertion | invoke-unit | invoke-unit\\/infer | lambda | lazy | let | let\\* | let\\*-values | let-syntax | let-syntaxes | let-values | let\\/cc | let\\/ec | letrec | letrec-syntax | letrec-syntaxes | letrec-syntaxes\\+values | letrec-values | lib | link | list\\*of | list\\/c | listof | local | local-require | log-debug | log-error | log-fatal | log-info | log-warning | make-custom-hash | make-custom-hash-types | make-custom-set | make-custom-set-types | make-handle-get-preference-locked | make-immutable-custom-hash | make-mutable-custom-set | make-object | make-temporary-file | make-weak-custom-hash | make-weak-custom-set | match | match\\* | match\\*\\/derived | match-define | match-define-values | match-lambda | match-lambda\\* | match-lambda\\*\\* | match-let | match-let\\* | match-let\\*-values | match-let-values | match-letrec | match-letrec-values | match\\/derived | match\\/values | member-name-key | mixin | module | module\\* | module\\+ | nand | new | new-∀\\/c | new-∃\\/c | non-empty-listof | none\\/c | nor | not\\/c | object-contract | object\\/c | one-of\\/c | only | only-in | only-meta-in | open | open-input-file | open-input-output-file | open-output-file | opt\\/c | or | or\\/c | overment | overment\\* | override | override\\* | override-final | override-final\\* | parameter\\/c | parameterize | parameterize\\* | parameterize-break | parametric->\\/c | pathlist-closure | peek-bytes!-evt | peek-bytes-avail!-evt | peek-bytes-evt | peek-string!-evt | peek-string-evt | peeking-input-port | place | place\\* | place\\/context | planet | port->bytes | port->bytes-lines | port->lines | port->string | prefix | prefix-in | prefix-out | pretty-format | private | private\\* | procedure-arity-includes\\/c | process | process\\* | process\\*\\/ports | process\\/ports | promise\\/c | prompt-tag\\/c | prop:dict\\/contract | protect-out | provide | provide-signature-elements | provide\\/contract | public | public\\* | public-final | public-final\\* | pubment | pubment\\* | quasiquote | quasisyntax | quasisyntax\\/loc | quote | quote-syntax | quote-syntax\\/prune | raise-blame-error | raise-not-cons-blame-error | range | read-bytes!-evt | read-bytes-avail!-evt | read-bytes-evt | read-bytes-line-evt | read-line-evt | read-string!-evt | read-string-evt | real-in | recontract-out | recursive-contract | regexp-match\\* | regexp-match-evt | regexp-match-peek-positions\\* | regexp-match-positions\\* | relative-in | relocate-input-port | relocate-output-port | remove-duplicates | rename | rename-in | rename-inner | rename-out | rename-super | require | send | send\\* | send\\+ | send-generic | send\\/apply | send\\/keyword-apply | sequence\\/c | set! | set!-values | set-field! | set\\/c | shared | sort | srcloc | stream | stream\\* | stream-cons | string-join | string-len\\/c | string-normalize-spaces | string-replace | string-split | string-trim | struct | struct\\* | struct-copy | struct-field-index | struct-out | struct\\/c | struct\\/ctc | struct\\/dc | submod | super | super-instantiate | super-make-object | super-new | symbols | syntax | syntax-case | syntax-case\\* | syntax-id-rules | syntax-rules | syntax\\/c | syntax\\/loc | system | system\\* | system\\*\\/exit-code | system\\/exit-code | tag | this | this% | thunk | thunk\\* | time | transplant-input-port | transplant-output-port | unconstrained-domain-> | unit | unit-from-context | unit\\/c | unit\\/new-import-export | unit\\/s | unless | unquote | unquote-splicing | unsyntax | unsyntax-splicing | values\\/drop | vector-immutable\\/c | vector-immutableof | vector-sort | vector-sort! | vector\\/c | vectorof | when | with-continuation-mark | with-contract | with-contract-continuation-mark | with-handlers | with-handlers\\* | with-input-from-file | with-method | with-output-to-file | with-syntax | wrapped-extra-arg-arrow | write-to-file | ~\\.a | ~\\.s | ~\\.v | ~a | ~e | ~r | ~s | ~v | λ | expand-for-clause | for-clause-syntax-protect | syntax-pattern-variable\\? | \\* | \\+ | - | \\/ | < | <= | = | > | >= | abort-current-continuation | abs | absolute-path\\? | acos | add1 | alarm-evt | always-evt | andmap | angle | append | arithmetic-shift | arity-at-least-value | arity-at-least\\? | asin | assf | assoc | assq | assv | atan | banner | bitwise-and | bitwise-bit-field | bitwise-bit-set\\? | bitwise-ior | bitwise-not | bitwise-xor | boolean\\? | bound-identifier=\\? | box | box-cas! | box-immutable | box\\? | break-enabled | break-parameterization\\? | break-thread | build-list | build-path | build-path\\/convention-type | build-string | build-vector | byte-pregexp | byte-pregexp\\? | byte-ready\\? | byte-regexp | byte-regexp\\? | byte\\? | bytes | bytes->immutable-bytes | bytes->list | bytes->path | bytes->path-element | bytes->string\\/latin-1 | bytes->string\\/locale | bytes->string\\/utf-8 | bytes-append | bytes-close-converter | bytes-convert | bytes-convert-end | bytes-converter\\? | bytes-copy | bytes-copy! | bytes-environment-variable-name\\? | bytes-fill! | bytes-length | bytes-open-converter | bytes-ref | bytes-set! | bytes-utf-8-index | bytes-utf-8-length | bytes-utf-8-ref | bytes<\\? | bytes=\\? | bytes>\\? | bytes\\? | caaaar | caaadr | caaar | caadar | caaddr | caadr | caar | cadaar | cadadr | cadar | caddar | cadddr | caddr | cadr | call-in-nested-thread | call-with-break-parameterization | call-with-composable-continuation | call-with-continuation-barrier | call-with-continuation-prompt | call-with-current-continuation | call-with-default-reading-parameterization | call-with-escape-continuation | call-with-exception-handler | call-with-immediate-continuation-mark | call-with-parameterization | call-with-semaphore | call-with-semaphore\\/enable-break | call-with-values | call\\/cc | call\\/ec | car | cdaaar | cdaadr | cdaar | cdadar | cdaddr | cdadr | cdar | cddaar | cddadr | cddar | cdddar | cddddr | cdddr | cddr | cdr | ceiling | channel-get | channel-put | channel-put-evt | channel-put-evt\\? | channel-try-get | channel\\? | chaperone-box | chaperone-channel | chaperone-continuation-mark-key | chaperone-evt | chaperone-hash | chaperone-of\\? | chaperone-procedure | chaperone-procedure\\* | chaperone-prompt-tag | chaperone-struct | chaperone-struct-type | chaperone-vector | chaperone-vector\\* | chaperone\\? | char->integer | char-alphabetic\\? | char-blank\\? | char-ci<=\\? | char-ci<\\? | char-ci=\\? | char-ci>=\\? | char-ci>\\? | char-downcase | char-foldcase | char-general-category | char-graphic\\? | char-iso-control\\? | char-lower-case\\? | char-numeric\\? | char-punctuation\\? | char-ready\\? | char-symbolic\\? | char-title-case\\? | char-titlecase | char-upcase | char-upper-case\\? | char-utf-8-length | char-whitespace\\? | char<=\\? | char<\\? | char=\\? | char>=\\? | char>\\? | char\\? | check-duplicate-identifier | check-tail-contract | checked-procedure-check-and-extract | choice-evt | cleanse-path | close-input-port | close-output-port | collect-garbage | collection-file-path | collection-path | compile | compile-allow-set!-undefined | compile-context-preservation-enabled | compile-enforce-module-constants | compile-syntax | compiled-expression-recompile | compiled-expression\\? | compiled-module-expression\\? | complete-path\\? | complex\\? | compose | compose1 | cons | continuation-mark-key\\? | continuation-mark-set->context | continuation-mark-set->list | continuation-mark-set->list\\* | continuation-mark-set-first | continuation-mark-set\\? | continuation-marks | continuation-prompt-available\\? | continuation-prompt-tag\\? | continuation\\? | copy-file | cos | current-break-parameterization | current-code-inspector | current-command-line-arguments | current-compile | current-compiled-file-roots | current-continuation-marks | current-custodian | current-directory | current-directory-for-user | current-drive | current-environment-variables | current-error-port | current-eval | current-evt-pseudo-random-generator | current-force-delete-permissions | current-gc-milliseconds | current-get-interaction-input-port | current-inexact-milliseconds | current-input-port | current-inspector | current-library-collection-links | current-library-collection-paths | current-load | current-load-extension | current-load-relative-directory | current-load\\/use-compiled | current-locale | current-logger | current-memory-use | current-milliseconds | current-module-declare-name | current-module-declare-source | current-module-name-resolver | current-module-path-for-load | current-namespace | current-output-port | current-parameterization | current-plumber | current-preserved-thread-cell-values | current-print | current-process-milliseconds | current-prompt-read | current-pseudo-random-generator | current-read-interaction | current-reader-guard | current-readtable | current-seconds | current-security-guard | current-subprocess-custodian-mode | current-thread | current-thread-group | current-thread-initial-stack-size | current-write-relative-directory | custodian-box-value | custodian-box\\? | custodian-limit-memory | custodian-managed-list | custodian-memory-accounting-available\\? | custodian-require-memory | custodian-shut-down\\? | custodian-shutdown-all | custodian\\? | custom-print-quotable-accessor | custom-print-quotable\\? | custom-write-accessor | custom-write\\? | date\\*-nanosecond | date\\*-time-zone-name | date\\*\\? | date-day | date-dst\\? | date-hour | date-minute | date-month | date-second | date-time-zone-offset | date-week-day | date-year | date-year-day | date\\? | datum->syntax | datum-intern-literal | default-continuation-prompt-tag | delete-directory | delete-file | denominator | directory-exists\\? | directory-list | display | displayln | double-flonum\\? | dump-memory-stats | dynamic-require | dynamic-require-for-syntax | dynamic-wind | environment-variables-copy | environment-variables-names | environment-variables-ref | environment-variables-set! | environment-variables\\? | eof | eof-object\\? | ephemeron-value | ephemeron\\? | eprintf | eq-hash-code | eq\\? | equal-hash-code | equal-secondary-hash-code | equal\\? | equal\\?\\/recur | eqv-hash-code | eqv\\? | error | error-display-handler | error-escape-handler | error-print-context-length | error-print-source-location | error-print-width | error-value->string-handler | eval | eval-jit-enabled | eval-syntax | even\\? | evt\\? | exact->inexact | exact-integer\\? | exact-nonnegative-integer\\? | exact-positive-integer\\? | exact\\? | executable-yield-handler | exit | exit-handler | exn-continuation-marks | exn-message | exn:break-continuation | exn:break:hang-up\\? | exn:break:terminate\\? | exn:break\\? | exn:fail:contract:arity\\? | exn:fail:contract:continuation\\? | exn:fail:contract:divide-by-zero\\? | exn:fail:contract:non-fixnum-result\\? | exn:fail:contract:variable-id | exn:fail:contract:variable\\? | exn:fail:contract\\? | exn:fail:filesystem:errno-errno | exn:fail:filesystem:errno\\? | exn:fail:filesystem:exists\\? | exn:fail:filesystem:missing-module-path | exn:fail:filesystem:missing-module\\? | exn:fail:filesystem:version\\? | exn:fail:filesystem\\? | exn:fail:network:errno-errno | exn:fail:network:errno\\? | exn:fail:network\\? | exn:fail:out-of-memory\\? | exn:fail:read-srclocs | exn:fail:read:eof\\? | exn:fail:read:non-char\\? | exn:fail:read\\? | exn:fail:syntax-exprs | exn:fail:syntax:missing-module-path | exn:fail:syntax:missing-module\\? | exn:fail:syntax:unbound\\? | exn:fail:syntax\\? | exn:fail:unsupported\\? | exn:fail:user\\? | exn:fail\\? | exn:missing-module-accessor | exn:missing-module\\? | exn:srclocs-accessor | exn:srclocs\\? | exn\\? | exp | expand | expand-for-clause | expand-once | expand-syntax | expand-syntax-once | expand-syntax-to-top-form | expand-to-top-form | expand-user-path | explode-path | expt | file-exists\\? | file-or-directory-identity | file-or-directory-modify-seconds | file-or-directory-permissions | file-position | file-position\\* | file-size | file-stream-buffer-mode | file-stream-port\\? | file-truncate | filesystem-change-evt | filesystem-change-evt-cancel | filesystem-change-evt\\? | filesystem-root-list | filter | find-executable-path | find-library-collection-links | find-library-collection-paths | find-system-path | findf | fixnum\\? | floating-point-bytes->real | flonum\\? | floor | flush-output | foldl | foldr | for-clause-syntax-protect | for-each | format | fprintf | free-identifier=\\? | free-label-identifier=\\? | free-template-identifier=\\? | free-transformer-identifier=\\? | gcd | generate-temporaries | gensym | get-output-bytes | get-output-string | getenv | global-port-print-handler | guard-evt | handle-evt | handle-evt\\? | hash | hash->list | hash-clear | hash-clear! | hash-copy | hash-copy-clear | hash-count | hash-empty\\? | hash-eq\\? | hash-equal\\? | hash-eqv\\? | hash-for-each | hash-has-key\\? | hash-iterate-first | hash-iterate-key | hash-iterate-key\\+value | hash-iterate-next | hash-iterate-pair | hash-iterate-value | hash-keys | hash-keys-subset\\? | hash-map | hash-placeholder\\? | hash-ref | hash-ref! | hash-remove | hash-remove! | hash-set | hash-set! | hash-set\\* | hash-set\\*! | hash-update | hash-update! | hash-values | hash-weak\\? | hash\\? | hasheq | hasheqv | identifier-binding | identifier-binding-symbol | identifier-label-binding | identifier-prune-lexical-context | identifier-prune-to-source-module | identifier-remove-from-definition-context | identifier-template-binding | identifier-transformer-binding | identifier\\? | imag-part | immutable\\? | impersonate-box | impersonate-channel | impersonate-continuation-mark-key | impersonate-hash | impersonate-procedure | impersonate-procedure\\* | impersonate-prompt-tag | impersonate-struct | impersonate-vector | impersonate-vector\\* | impersonator-ephemeron | impersonator-of\\? | impersonator-prop:application-mark | impersonator-property-accessor-procedure\\? | impersonator-property\\? | impersonator\\? | in-cycle | in-parallel | in-sequences | in-values\\*-sequence | in-values-sequence | inexact->exact | inexact-real\\? | inexact\\? | input-port\\? | inspector-superior\\? | inspector\\? | integer->char | integer->integer-bytes | integer-bytes->integer | integer-length | integer-sqrt | integer-sqrt\\/remainder | integer\\? | internal-definition-context-binding-identifiers | internal-definition-context-introduce | internal-definition-context-seal | internal-definition-context\\? | keyword->string | keyword-apply | keyword<\\? | keyword\\? | kill-thread | lcm | legacy-match-expander\\? | length | liberal-define-context\\? | link-exists\\? | list | list\\* | list->bytes | list->string | list->vector | list-ref | list-tail | list\\? | load | load-extension | load-on-demand-enabled | load-relative | load-relative-extension | load\\/cd | load\\/use-compiled | local-expand | local-expand\\/capture-lifts | local-transformer-expand | local-transformer-expand\\/capture-lifts | locale-string-encoding | log | log-all-levels | log-level-evt | log-level\\? | log-max-level | log-message | log-receiver\\? | logger-name | logger\\? | magnitude | make-arity-at-least | make-base-empty-namespace | make-base-namespace | make-bytes | make-channel | make-continuation-mark-key | make-continuation-prompt-tag | make-custodian | make-custodian-box | make-date | make-date\\* | make-derived-parameter | make-directory | make-do-sequence | make-empty-namespace | make-environment-variables | make-ephemeron | make-exn | make-exn:break | make-exn:break:hang-up | make-exn:break:terminate | make-exn:fail | make-exn:fail:contract | make-exn:fail:contract:arity | make-exn:fail:contract:continuation | make-exn:fail:contract:divide-by-zero | make-exn:fail:contract:non-fixnum-result | make-exn:fail:contract:variable | make-exn:fail:filesystem | make-exn:fail:filesystem:errno | make-exn:fail:filesystem:exists | make-exn:fail:filesystem:missing-module | make-exn:fail:filesystem:version | make-exn:fail:network | make-exn:fail:network:errno | make-exn:fail:out-of-memory | make-exn:fail:read | make-exn:fail:read:eof | make-exn:fail:read:non-char | make-exn:fail:syntax | make-exn:fail:syntax:missing-module | make-exn:fail:syntax:unbound | make-exn:fail:unsupported | make-exn:fail:user | make-file-or-directory-link | make-hash | make-hash-placeholder | make-hasheq | make-hasheq-placeholder | make-hasheqv | make-hasheqv-placeholder | make-immutable-hash | make-immutable-hasheq | make-immutable-hasheqv | make-impersonator-property | make-input-port | make-inspector | make-keyword-procedure | make-known-char-range-list | make-log-receiver | make-logger | make-output-port | make-parameter | make-phantom-bytes | make-pipe | make-placeholder | make-plumber | make-polar | make-prefab-struct | make-pseudo-random-generator | make-reader-graph | make-readtable | make-rectangular | make-rename-transformer | make-resolved-module-path | make-security-guard | make-semaphore | make-set!-transformer | make-shared-bytes | make-sibling-inspector | make-special-comment | make-srcloc | make-string | make-struct-field-accessor | make-struct-field-mutator | make-struct-type | make-struct-type-property | make-syntax-delta-introducer | make-syntax-introducer | make-thread-cell | make-thread-group | make-vector | make-weak-box | make-weak-hash | make-weak-hasheq | make-weak-hasheqv | make-will-executor | map | match-\\.\\.\\.-nesting | match-expander\\? | max | mcar | mcdr | mcons | member | memf | memq | memv | min | module->exports | module->imports | module->indirect-exports | module->language-info | module->namespace | module-compiled-cross-phase-persistent\\? | module-compiled-exports | module-compiled-imports | module-compiled-indirect-exports | module-compiled-language-info | module-compiled-name | module-compiled-submodules | module-declared\\? | module-path-index-join | module-path-index-resolve | module-path-index-split | module-path-index-submodule | module-path-index\\? | module-path\\? | module-predefined\\? | module-provide-protected\\? | modulo | mpair\\? | nack-guard-evt | namespace-anchor->empty-namespace | namespace-anchor->namespace | namespace-anchor\\? | namespace-attach-module | namespace-attach-module-declaration | namespace-base-phase | namespace-mapped-symbols | namespace-module-identifier | namespace-module-registry | namespace-require | namespace-require\\/constant | namespace-require\\/copy | namespace-require\\/expansion-time | namespace-set-variable-value! | namespace-symbol->identifier | namespace-syntax-introduce | namespace-undefine-variable! | namespace-unprotect-module | namespace-variable-value | namespace\\? | negative\\? | never-evt | newline | normal-case-path | not | null | null\\? | number->string | number\\? | numerator | object-name | odd\\? | open-input-bytes | open-input-string | open-output-bytes | open-output-string | ormap | output-port\\? | pair\\? | parameter-procedure=\\? | parameter\\? | parameterization\\? | parse-leftover->\\* | path->bytes | path->complete-path | path->directory-path | path->string | path-add-extension | path-add-suffix | path-convention-type | path-element->bytes | path-element->string | path-for-some-system\\? | path-list-string->path-list | path-replace-extension | path-replace-suffix | path-string\\? | path<\\? | path\\? | peek-byte | peek-byte-or-special | peek-bytes | peek-bytes! | peek-bytes-avail! | peek-bytes-avail!\\* | peek-bytes-avail!\\/enable-break | peek-char | peek-char-or-special | peek-string | peek-string! | phantom-bytes\\? | pipe-content-length | placeholder-get | placeholder-set! | placeholder\\? | plumber-add-flush! | plumber-flush-all | plumber-flush-handle-remove! | plumber-flush-handle\\? | plumber\\? | poll-guard-evt | port-closed-evt | port-closed\\? | port-commit-peeked | port-count-lines! | port-count-lines-enabled | port-counts-lines\\? | port-display-handler | port-file-identity | port-file-unlock | port-next-location | port-print-handler | port-progress-evt | port-provides-progress-evts\\? | port-read-handler | port-try-file-lock\\? | port-write-handler | port-writes-atomic\\? | port-writes-special\\? | port\\? | positive\\? | prefab-key->struct-type | prefab-key\\? | prefab-struct-key | pregexp | pregexp\\? | primitive-closure\\? | primitive-result-arity | primitive\\? | print | print-as-expression | print-boolean-long-form | print-box | print-graph | print-hash-table | print-mpair-curly-braces | print-pair-curly-braces | print-reader-abbreviations | print-struct | print-syntax-width | print-unreadable | print-vector-length | printf | println | procedure->method | procedure-arity | procedure-arity-includes\\? | procedure-arity\\? | procedure-closure-contents-eq\\? | procedure-extract-target | procedure-impersonator\\*\\? | procedure-keywords | procedure-reduce-arity | procedure-reduce-keyword-arity | procedure-rename | procedure-result-arity | procedure-specialize | procedure-struct-type\\? | procedure\\? | progress-evt\\? | prop:arity-string | prop:authentic | prop:checked-procedure | prop:custom-print-quotable | prop:custom-write | prop:equal\\+hash | prop:evt | prop:exn:missing-module | prop:exn:srclocs | prop:expansion-contexts | prop:impersonator-of | prop:input-port | prop:legacy-match-expander | prop:liberal-define-context | prop:match-expander | prop:object-name | prop:output-port | prop:procedure | prop:rename-transformer | prop:sequence | prop:set!-transformer | pseudo-random-generator->vector | pseudo-random-generator-vector\\? | pseudo-random-generator\\? | putenv | quotient | quotient\\/remainder | raise | raise-argument-error | raise-arguments-error | raise-arity-error | raise-mismatch-error | raise-range-error | raise-result-error | raise-syntax-error | raise-type-error | raise-user-error | random | random-seed | rational\\? | rationalize | read | read-accept-bar-quote | read-accept-box | read-accept-compiled | read-accept-dot | read-accept-graph | read-accept-infix-dot | read-accept-lang | read-accept-quasiquote | read-accept-reader | read-byte | read-byte-or-special | read-bytes | read-bytes! | read-bytes-avail! | read-bytes-avail!\\* | read-bytes-avail!\\/enable-break | read-bytes-line | read-case-sensitive | read-cdot | read-char | read-char-or-special | read-curly-brace-as-paren | read-curly-brace-with-tag | read-decimal-as-inexact | read-eval-print-loop | read-language | read-line | read-on-demand-source | read-square-bracket-as-paren | read-square-bracket-with-tag | read-string | read-string! | read-syntax | read-syntax\\/recursive | read\\/recursive | readtable-mapping | readtable\\? | real->decimal-string | real->double-flonum | real->floating-point-bytes | real->single-flonum | real-part | real\\? | regexp | regexp-match | regexp-match-exact\\? | regexp-match-peek | regexp-match-peek-immediate | regexp-match-peek-positions | regexp-match-peek-positions-immediate | regexp-match-peek-positions-immediate\\/end | regexp-match-peek-positions\\/end | regexp-match-positions | regexp-match-positions\\/end | regexp-match\\/end | regexp-match\\? | regexp-max-lookbehind | regexp-quote | regexp-replace | regexp-replace\\* | regexp-replace-quote | regexp-replaces | regexp-split | regexp-try-match | regexp\\? | relative-path\\? | remainder | remove | remove\\* | remq | remq\\* | remv | remv\\* | rename-file-or-directory | rename-transformer-target | rename-transformer\\? | replace-evt | reroot-path | resolve-path | resolved-module-path-name | resolved-module-path\\? | reverse | round | seconds->date | security-guard\\? | semaphore-peek-evt | semaphore-peek-evt\\? | semaphore-post | semaphore-try-wait\\? | semaphore-wait | semaphore-wait\\/enable-break | semaphore\\? | sequence->stream | sequence-generate | sequence-generate\\* | sequence\\? | set!-transformer-procedure | set!-transformer\\? | set-box! | set-mcar! | set-mcdr! | set-phantom-bytes! | set-port-next-location! | shared-bytes | shell-execute | simplify-path | sin | single-flonum\\? | sleep | special-comment-value | special-comment\\? | split-path | sqrt | srcloc->string | srcloc-column | srcloc-line | srcloc-position | srcloc-source | srcloc-span | srcloc\\? | stop-after | stop-before | string | string->bytes\\/latin-1 | string->bytes\\/locale | string->bytes\\/utf-8 | string->immutable-string | string->keyword | string->list | string->number | string->path | string->path-element | string->symbol | string->uninterned-symbol | string->unreadable-symbol | string-append | string-ci<=\\? | string-ci<\\? | string-ci=\\? | string-ci>=\\? | string-ci>\\? | string-copy | string-copy! | string-downcase | string-environment-variable-name\\? | string-fill! | string-foldcase | string-length | string-locale-ci<\\? | string-locale-ci=\\? | string-locale-ci>\\? | string-locale-downcase | string-locale-upcase | string-locale<\\? | string-locale=\\? | string-locale>\\? | string-normalize-nfc | string-normalize-nfd | string-normalize-nfkc | string-normalize-nfkd | string-port\\? | string-ref | string-set! | string-titlecase | string-upcase | string-utf-8-length | string<=\\? | string<\\? | string=\\? | string>=\\? | string>\\? | string\\? | struct->vector | struct-accessor-procedure\\? | struct-constructor-procedure\\? | struct-info | struct-mutator-procedure\\? | struct-predicate-procedure\\? | struct-type-info | struct-type-make-constructor | struct-type-make-predicate | struct-type-property-accessor-procedure\\? | struct-type-property\\? | struct-type\\? | struct:arity-at-least | struct:date | struct:date\\* | struct:exn | struct:exn:break | struct:exn:break:hang-up | struct:exn:break:terminate | struct:exn:fail | struct:exn:fail:contract | struct:exn:fail:contract:arity | struct:exn:fail:contract:continuation | struct:exn:fail:contract:divide-by-zero | struct:exn:fail:contract:non-fixnum-result | struct:exn:fail:contract:variable | struct:exn:fail:filesystem | struct:exn:fail:filesystem:errno | struct:exn:fail:filesystem:exists | struct:exn:fail:filesystem:missing-module | struct:exn:fail:filesystem:version | struct:exn:fail:network | struct:exn:fail:network:errno | struct:exn:fail:out-of-memory | struct:exn:fail:read | struct:exn:fail:read:eof | struct:exn:fail:read:non-char | struct:exn:fail:syntax | struct:exn:fail:syntax:missing-module | struct:exn:fail:syntax:unbound | struct:exn:fail:unsupported | struct:exn:fail:user | struct:srcloc | struct\\? | sub1 | subbytes | subprocess | subprocess-group-enabled | subprocess-kill | subprocess-pid | subprocess-status | subprocess-wait | subprocess\\? | substring | symbol->string | symbol-interned\\? | symbol-unreadable\\? | symbol<\\? | symbol\\? | sync | sync\\/enable-break | sync\\/timeout | sync\\/timeout\\/enable-break | syntax->datum | syntax->list | syntax-arm | syntax-column | syntax-debug-info | syntax-disarm | syntax-e | syntax-line | syntax-local-bind-syntaxes | syntax-local-certifier | syntax-local-context | syntax-local-expand-expression | syntax-local-get-shadower | syntax-local-identifier-as-binding | syntax-local-introduce | syntax-local-lift-context | syntax-local-lift-expression | syntax-local-lift-module | syntax-local-lift-module-end-declaration | syntax-local-lift-provide | syntax-local-lift-require | syntax-local-lift-values-expression | syntax-local-make-definition-context | syntax-local-make-delta-introducer | syntax-local-match-introduce | syntax-local-module-defined-identifiers | syntax-local-module-exports | syntax-local-module-required-identifiers | syntax-local-name | syntax-local-phase-level | syntax-local-submodules | syntax-local-transforming-module-provides\\? | syntax-local-value | syntax-local-value\\/immediate | syntax-original\\? | syntax-pattern-variable\\? | syntax-position | syntax-property | syntax-property-preserved\\? | syntax-property-symbol-keys | syntax-protect | syntax-rearm | syntax-recertify | syntax-shift-phase-level | syntax-source | syntax-source-module | syntax-span | syntax-taint | syntax-tainted\\? | syntax-track-origin | syntax-transforming-module-expression\\? | syntax-transforming-with-lifts\\? | syntax-transforming\\? | syntax\\? | system-big-endian\\? | system-idle-evt | system-language\\+country | system-library-subpath | system-path-convention-type | system-type | tan | terminal-port\\? | thread | thread-cell-ref | thread-cell-set! | thread-cell-values\\? | thread-cell\\? | thread-dead-evt | thread-dead\\? | thread-group\\? | thread-receive | thread-receive-evt | thread-resume | thread-resume-evt | thread-rewind-receive | thread-running\\? | thread-send | thread-suspend | thread-suspend-evt | thread-try-receive | thread-wait | thread\\/suspend-to-kill | thread\\? | time-apply | truncate | unbox | uncaught-exception-handler | unquoted-printing-string | unquoted-printing-string-value | unquoted-printing-string\\? | use-collection-link-paths | use-compiled-file-check | use-compiled-file-paths | use-user-specific-search-paths | values | variable-reference->empty-namespace | variable-reference->module-base-phase | variable-reference->module-declaration-inspector | variable-reference->module-path-index | variable-reference->module-source | variable-reference->namespace | variable-reference->phase | variable-reference->resolved-module-path | variable-reference-constant\\? | variable-reference\\? | vector | vector->immutable-vector | vector->list | vector->pseudo-random-generator | vector->pseudo-random-generator! | vector->values | vector-cas! | vector-copy! | vector-fill! | vector-immutable | vector-length | vector-ref | vector-set! | vector-set-performance-stats! | vector\\? | version | void | void\\? | weak-box-value | weak-box\\? | will-execute | will-executor\\? | will-register | will-try-execute | wrap-evt | write | write-byte | write-bytes | write-bytes-avail | write-bytes-avail\\* | write-bytes-avail-evt | write-bytes-avail\\/enable-break | write-char | write-special | write-special-avail\\* | write-special-evt | write-string | writeln | zero\\? | \\* | \\*list\\/c | \\+ | - | \\/ | < | <\\/c | <= | = | > | >\\/c | >= | abort-current-continuation | abs | absolute-path\\? | acos | add1 | alarm-evt | always-evt | andmap | angle | append | append\\* | append-map | argmax | argmin | arithmetic-shift | arity-at-least-value | arity-at-least\\? | arity-checking-wrapper | arity-includes\\? | arity=\\? | arrow-contract-info-accepts-arglist | arrow-contract-info-chaperone-procedure | arrow-contract-info-check-first-order | arrow-contract-info\\? | asin | assf | assoc | assq | assv | atan | banner | base->-doms\\/c | base->-rngs\\/c | base->\\? | bitwise-and | bitwise-bit-field | bitwise-bit-set\\? | bitwise-ior | bitwise-not | bitwise-xor | blame-add-car-context | blame-add-cdr-context | blame-add-missing-party | blame-add-nth-arg-context | blame-add-range-context | blame-add-unknown-context | blame-context | blame-contract | blame-fmt->-string | blame-missing-party\\? | blame-negative | blame-original\\? | blame-positive | blame-replace-negative | blame-source | blame-swap | blame-swapped\\? | blame-update | blame-value | blame\\? | boolean=\\? | boolean\\? | bound-identifier=\\? | box | box-cas! | box-immutable | box\\? | break-enabled | break-parameterization\\? | break-thread | build-chaperone-contract-property | build-compound-type-name | build-contract-property | build-flat-contract-property | build-list | build-path | build-path\\/convention-type | build-string | build-vector | byte-pregexp | byte-pregexp\\? | byte-ready\\? | byte-regexp | byte-regexp\\? | byte\\? | bytes | bytes->immutable-bytes | bytes->list | bytes->path | bytes->path-element | bytes->string\\/latin-1 | bytes->string\\/locale | bytes->string\\/utf-8 | bytes-append | bytes-append\\* | bytes-close-converter | bytes-convert | bytes-convert-end | bytes-converter\\? | bytes-copy | bytes-copy! | bytes-environment-variable-name\\? | bytes-fill! | bytes-join | bytes-length | bytes-no-nuls\\? | bytes-open-converter | bytes-ref | bytes-set! | bytes-utf-8-index | bytes-utf-8-length | bytes-utf-8-ref | bytes<\\? | bytes=\\? | bytes>\\? | bytes\\? | caaaar | caaadr | caaar | caadar | caaddr | caadr | caar | cadaar | cadadr | cadar | caddar | cadddr | caddr | cadr | call-in-nested-thread | call-with-break-parameterization | call-with-composable-continuation | call-with-continuation-barrier | call-with-continuation-prompt | call-with-current-continuation | call-with-default-reading-parameterization | call-with-escape-continuation | call-with-exception-handler | call-with-immediate-continuation-mark | call-with-input-bytes | call-with-input-string | call-with-output-bytes | call-with-output-string | call-with-parameterization | call-with-semaphore | call-with-semaphore\\/enable-break | call-with-values | call\\/cc | call\\/ec | car | cartesian-product | cdaaar | cdaadr | cdaar | cdadar | cdaddr | cdadr | cdar | cddaar | cddadr | cddar | cdddar | cddddr | cdddr | cddr | cdr | ceiling | channel-get | channel-put | channel-put-evt | channel-put-evt\\? | channel-try-get | channel\\? | chaperone-box | chaperone-channel | chaperone-continuation-mark-key | chaperone-contract-property\\? | chaperone-contract\\? | chaperone-evt | chaperone-hash | chaperone-hash-set | chaperone-of\\? | chaperone-procedure | chaperone-procedure\\* | chaperone-prompt-tag | chaperone-struct | chaperone-struct-type | chaperone-vector | chaperone-vector\\* | chaperone\\? | char->integer | char-alphabetic\\? | char-blank\\? | char-ci<=\\? | char-ci<\\? | char-ci=\\? | char-ci>=\\? | char-ci>\\? | char-downcase | char-foldcase | char-general-category | char-graphic\\? | char-in | char-iso-control\\? | char-lower-case\\? | char-numeric\\? | char-punctuation\\? | char-ready\\? | char-symbolic\\? | char-title-case\\? | char-titlecase | char-upcase | char-upper-case\\? | char-utf-8-length | char-whitespace\\? | char<=\\? | char<\\? | char=\\? | char>=\\? | char>\\? | char\\? | check-duplicate-identifier | checked-procedure-check-and-extract | choice-evt | class->interface | class-info | class-seal | class-unseal | class\\? | cleanse-path | close-input-port | close-output-port | coerce-chaperone-contract | coerce-chaperone-contracts | coerce-contract | coerce-contract\\/f | coerce-contracts | coerce-flat-contract | coerce-flat-contracts | collect-garbage | collection-file-path | collection-path | combinations | compile | compile-allow-set!-undefined | compile-context-preservation-enabled | compile-enforce-module-constants | compile-syntax | compiled-expression-recompile | compiled-expression\\? | compiled-module-expression\\? | complete-path\\? | complex\\? | compose | compose1 | conjoin | conjugate | cons | cons\\? | const | continuation-mark-key\\? | continuation-mark-set->context | continuation-mark-set->list | continuation-mark-set->list\\* | continuation-mark-set-first | continuation-mark-set\\? | continuation-marks | continuation-prompt-available\\? | continuation-prompt-tag\\? | continuation\\? | contract-continuation-mark-key | contract-custom-write-property-proc | contract-first-order | contract-first-order-passes\\? | contract-late-neg-projection | contract-name | contract-proc | contract-projection | contract-property\\? | contract-random-generate | contract-random-generate-fail | contract-random-generate-fail\\? | contract-random-generate-get-current-environment | contract-random-generate-stash | contract-random-generate\\/choose | contract-stronger\\? | contract-struct-exercise | contract-struct-generate | contract-struct-late-neg-projection | contract-struct-list-contract\\? | contract-val-first-projection | contract\\? | convert-stream | copy-file | copy-port | cos | cosh | count | current-blame-format | current-break-parameterization | current-code-inspector | current-command-line-arguments | current-compile | current-compiled-file-roots | current-continuation-marks | current-custodian | current-directory | current-directory-for-user | current-drive | current-environment-variables | current-error-port | current-eval | current-evt-pseudo-random-generator | current-force-delete-permissions | current-future | current-gc-milliseconds | current-get-interaction-input-port | current-inexact-milliseconds | current-input-port | current-inspector | current-library-collection-links | current-library-collection-paths | current-load | current-load-extension | current-load-relative-directory | current-load\\/use-compiled | current-locale | current-logger | current-memory-use | current-milliseconds | current-module-declare-name | current-module-declare-source | current-module-name-resolver | current-module-path-for-load | current-namespace | current-output-port | current-parameterization | current-plumber | current-preserved-thread-cell-values | current-print | current-process-milliseconds | current-prompt-read | current-pseudo-random-generator | current-read-interaction | current-reader-guard | current-readtable | current-seconds | current-security-guard | current-subprocess-custodian-mode | current-thread | current-thread-group | current-thread-initial-stack-size | current-write-relative-directory | curry | curryr | custodian-box-value | custodian-box\\? | custodian-limit-memory | custodian-managed-list | custodian-memory-accounting-available\\? | custodian-require-memory | custodian-shut-down\\? | custodian-shutdown-all | custodian\\? | custom-print-quotable-accessor | custom-print-quotable\\? | custom-write-accessor | custom-write-property-proc | custom-write\\? | date\\*-nanosecond | date\\*-time-zone-name | date\\*\\? | date-day | date-dst\\? | date-hour | date-minute | date-month | date-second | date-time-zone-offset | date-week-day | date-year | date-year-day | date\\? | datum->syntax | datum-intern-literal | default-continuation-prompt-tag | degrees->radians | delete-directory | delete-file | denominator | dict-iter-contract | dict-key-contract | dict-value-contract | directory-exists\\? | directory-list | disjoin | display | displayln | double-flonum\\? | drop | drop-common-prefix | drop-right | dropf | dropf-right | dump-memory-stats | dup-input-port | dup-output-port | dynamic-get-field | dynamic-object\\/c | dynamic-require | dynamic-require-for-syntax | dynamic-send | dynamic-set-field! | dynamic-wind | eighth | empty | empty-sequence | empty-stream | empty\\? | environment-variables-copy | environment-variables-names | environment-variables-ref | environment-variables-set! | environment-variables\\? | eof | eof-object\\? | ephemeron-value | ephemeron\\? | eprintf | eq-contract-val | eq-contract\\? | eq-hash-code | eq\\? | equal-contract-val | equal-contract\\? | equal-hash-code | equal-secondary-hash-code | equal<%> | equal\\? | equal\\?\\/recur | eqv-hash-code | eqv\\? | error | error-display-handler | error-escape-handler | error-print-context-length | error-print-source-location | error-print-width | error-value->string-handler | eval | eval-jit-enabled | eval-syntax | even\\? | evt\\/c | evt\\? | exact->inexact | exact-ceiling | exact-floor | exact-integer\\? | exact-nonnegative-integer\\? | exact-positive-integer\\? | exact-round | exact-truncate | exact\\? | executable-yield-handler | exit | exit-handler | exn-continuation-marks | exn-message | exn:break-continuation | exn:break:hang-up\\? | exn:break:terminate\\? | exn:break\\? | exn:fail:contract:arity\\? | exn:fail:contract:blame-object | exn:fail:contract:blame\\? | exn:fail:contract:continuation\\? | exn:fail:contract:divide-by-zero\\? | exn:fail:contract:non-fixnum-result\\? | exn:fail:contract:variable-id | exn:fail:contract:variable\\? | exn:fail:contract\\? | exn:fail:filesystem:errno-errno | exn:fail:filesystem:errno\\? | exn:fail:filesystem:exists\\? | exn:fail:filesystem:missing-module-path | exn:fail:filesystem:missing-module\\? | exn:fail:filesystem:version\\? | exn:fail:filesystem\\? | exn:fail:network:errno-errno | exn:fail:network:errno\\? | exn:fail:network\\? | exn:fail:object\\? | exn:fail:out-of-memory\\? | exn:fail:read-srclocs | exn:fail:read:eof\\? | exn:fail:read:non-char\\? | exn:fail:read\\? | exn:fail:syntax-exprs | exn:fail:syntax:missing-module-path | exn:fail:syntax:missing-module\\? | exn:fail:syntax:unbound\\? | exn:fail:syntax\\? | exn:fail:unsupported\\? | exn:fail:user\\? | exn:fail\\? | exn:misc:match\\? | exn:missing-module-accessor | exn:missing-module\\? | exn:srclocs-accessor | exn:srclocs\\? | exn\\? | exp | expand | expand-once | expand-syntax | expand-syntax-once | expand-syntax-to-top-form | expand-to-top-form | expand-user-path | explode-path | expt | externalizable<%> | failure-result\\/c | false | false\\/c | false\\? | field-names | fifth | file-exists\\? | file-name-from-path | file-or-directory-identity | file-or-directory-modify-seconds | file-or-directory-permissions | file-position | file-position\\* | file-size | file-stream-buffer-mode | file-stream-port\\? | file-truncate | filename-extension | filesystem-change-evt | filesystem-change-evt-cancel | filesystem-change-evt\\? | filesystem-root-list | filter | filter-map | filter-not | filter-read-input-port | find-executable-path | find-library-collection-links | find-library-collection-paths | find-system-path | findf | first | fixnum\\? | flat-contract | flat-contract-predicate | flat-contract-property\\? | flat-contract\\? | flat-named-contract | flatten | floating-point-bytes->real | flonum\\? | floor | flush-output | fold-files | foldl | foldr | for-each | force | format | fourth | fprintf | free-identifier=\\? | free-label-identifier=\\? | free-template-identifier=\\? | free-transformer-identifier=\\? | fsemaphore-count | fsemaphore-post | fsemaphore-try-wait\\? | fsemaphore-wait | fsemaphore\\? | future | future\\? | futures-enabled\\? | gcd | generate-member-key | generate-temporaries | generic-set\\? | generic\\? | gensym | get-output-bytes | get-output-string | get\\/build-late-neg-projection | get\\/build-val-first-projection | getenv | global-port-print-handler | group-by | group-execute-bit | group-read-bit | group-write-bit | guard-evt | handle-evt | handle-evt\\? | has-blame\\? | has-contract\\? | hash | hash->list | hash-clear | hash-clear! | hash-copy | hash-copy-clear | hash-count | hash-empty\\? | hash-eq\\? | hash-equal\\? | hash-eqv\\? | hash-for-each | hash-has-key\\? | hash-iterate-first | hash-iterate-key | hash-iterate-key\\+value | hash-iterate-next | hash-iterate-pair | hash-iterate-value | hash-keys | hash-keys-subset\\? | hash-map | hash-placeholder\\? | hash-ref | hash-ref! | hash-remove | hash-remove! | hash-set | hash-set! | hash-set\\* | hash-set\\*! | hash-update | hash-update! | hash-values | hash-weak\\? | hash\\? | hasheq | hasheqv | identifier-binding | identifier-binding-symbol | identifier-label-binding | identifier-prune-lexical-context | identifier-prune-to-source-module | identifier-remove-from-definition-context | identifier-template-binding | identifier-transformer-binding | identifier\\? | identity | if\\/c | imag-part | immutable\\? | impersonate-box | impersonate-channel | impersonate-continuation-mark-key | impersonate-hash | impersonate-hash-set | impersonate-procedure | impersonate-procedure\\* | impersonate-prompt-tag | impersonate-struct | impersonate-vector | impersonate-vector\\* | impersonator-contract\\? | impersonator-ephemeron | impersonator-of\\? | impersonator-prop:application-mark | impersonator-prop:blame | impersonator-prop:contracted | impersonator-property-accessor-procedure\\? | impersonator-property\\? | impersonator\\? | implementation\\? | implementation\\?\\/c | in-combinations | in-cycle | in-dict-pairs | in-parallel | in-permutations | in-sequences | in-values\\*-sequence | in-values-sequence | index-of | index-where | indexes-of | indexes-where | inexact->exact | inexact-real\\? | inexact\\? | infinite\\? | input-port-append | input-port\\? | inspector-superior\\? | inspector\\? | instanceof\\/c | integer->char | integer->integer-bytes | integer-bytes->integer | integer-length | integer-sqrt | integer-sqrt\\/remainder | integer\\? | interface->method-names | interface-extension\\? | interface\\? | internal-definition-context-binding-identifiers | internal-definition-context-introduce | internal-definition-context-seal | internal-definition-context\\? | is-a\\? | is-a\\?\\/c | keyword->string | keyword-apply | keyword<\\? | keyword\\? | keywords-match | kill-thread | last | last-pair | lcm | length | liberal-define-context\\? | link-exists\\? | list | list\\* | list->bytes | list->mutable-set | list->mutable-seteq | list->mutable-seteqv | list->set | list->seteq | list->seteqv | list->string | list->vector | list->weak-set | list->weak-seteq | list->weak-seteqv | list-contract\\? | list-prefix\\? | list-ref | list-set | list-tail | list-update | list\\? | listen-port-number\\? | load | load-extension | load-on-demand-enabled | load-relative | load-relative-extension | load\\/cd | load\\/use-compiled | local-expand | local-expand\\/capture-lifts | local-transformer-expand | local-transformer-expand\\/capture-lifts | locale-string-encoding | log | log-all-levels | log-level-evt | log-level\\? | log-max-level | log-message | log-receiver\\? | logger-name | logger\\? | magnitude | make-arity-at-least | make-base-empty-namespace | make-base-namespace | make-bytes | make-channel | make-chaperone-contract | make-continuation-mark-key | make-continuation-prompt-tag | make-contract | make-custodian | make-custodian-box | make-date | make-date\\* | make-derived-parameter | make-directory | make-directory\\* | make-do-sequence | make-empty-namespace | make-environment-variables | make-ephemeron | make-exn | make-exn:break | make-exn:break:hang-up | make-exn:break:terminate | make-exn:fail | make-exn:fail:contract | make-exn:fail:contract:arity | make-exn:fail:contract:blame | make-exn:fail:contract:continuation | make-exn:fail:contract:divide-by-zero | make-exn:fail:contract:non-fixnum-result | make-exn:fail:contract:variable | make-exn:fail:filesystem | make-exn:fail:filesystem:errno | make-exn:fail:filesystem:exists | make-exn:fail:filesystem:missing-module | make-exn:fail:filesystem:version | make-exn:fail:network | make-exn:fail:network:errno | make-exn:fail:object | make-exn:fail:out-of-memory | make-exn:fail:read | make-exn:fail:read:eof | make-exn:fail:read:non-char | make-exn:fail:syntax | make-exn:fail:syntax:missing-module | make-exn:fail:syntax:unbound | make-exn:fail:unsupported | make-exn:fail:user | make-file-or-directory-link | make-flat-contract | make-fsemaphore | make-generic | make-hash | make-hash-placeholder | make-hasheq | make-hasheq-placeholder | make-hasheqv | make-hasheqv-placeholder | make-immutable-hash | make-immutable-hasheq | make-immutable-hasheqv | make-impersonator-property | make-input-port | make-input-port\\/read-to-peek | make-inspector | make-keyword-procedure | make-known-char-range-list | make-limited-input-port | make-list | make-lock-file-name | make-log-receiver | make-logger | make-mixin-contract | make-none\\/c | make-output-port | make-parameter | make-parent-directory\\* | make-phantom-bytes | make-pipe | make-pipe-with-specials | make-placeholder | make-plumber | make-polar | make-prefab-struct | make-primitive-class | make-proj-contract | make-pseudo-random-generator | make-reader-graph | make-readtable | make-rectangular | make-rename-transformer | make-resolved-module-path | make-security-guard | make-semaphore | make-set!-transformer | make-shared-bytes | make-sibling-inspector | make-special-comment | make-srcloc | make-string | make-struct-field-accessor | make-struct-field-mutator | make-struct-type | make-struct-type-property | make-syntax-delta-introducer | make-syntax-introducer | make-tentative-pretty-print-output-port | make-thread-cell | make-thread-group | make-vector | make-weak-box | make-weak-hash | make-weak-hasheq | make-weak-hasheqv | make-will-executor | map | match-equality-test | matches-arity-exactly\\? | max | mcar | mcdr | mcons | member | member-name-key-hash-code | member-name-key=\\? | member-name-key\\? | memf | memq | memv | merge-input | method-in-interface\\? | min | mixin-contract | module->exports | module->imports | module->indirect-exports | module->language-info | module->namespace | module-compiled-cross-phase-persistent\\? | module-compiled-exports | module-compiled-imports | module-compiled-indirect-exports | module-compiled-language-info | module-compiled-name | module-compiled-submodules | module-declared\\? | module-path-index-join | module-path-index-resolve | module-path-index-split | module-path-index-submodule | module-path-index\\? | module-path\\? | module-predefined\\? | module-provide-protected\\? | modulo | mpair\\? | mutable-set | mutable-seteq | mutable-seteqv | n->th | nack-guard-evt | namespace-anchor->empty-namespace | namespace-anchor->namespace | namespace-anchor\\? | namespace-attach-module | namespace-attach-module-declaration | namespace-base-phase | namespace-mapped-symbols | namespace-module-identifier | namespace-module-registry | namespace-require | namespace-require\\/constant | namespace-require\\/copy | namespace-require\\/expansion-time | namespace-set-variable-value! | namespace-symbol->identifier | namespace-syntax-introduce | namespace-undefine-variable! | namespace-unprotect-module | namespace-variable-value | namespace\\? | nan\\? | natural-number\\/c | natural\\? | negate | negative-integer\\? | negative\\? | never-evt | newline | ninth | non-empty-string\\? | nonnegative-integer\\? | nonpositive-integer\\? | normal-case-path | normalize-arity | normalize-path | normalized-arity\\? | not | null | null\\? | number->string | number\\? | numerator | object% | object->vector | object-info | object-interface | object-method-arity-includes\\? | object-name | object-or-false=\\? | object=\\? | object\\? | odd\\? | open-input-bytes | open-input-string | open-output-bytes | open-output-nowhere | open-output-string | order-of-magnitude | ormap | other-execute-bit | other-read-bit | other-write-bit | output-port\\? | pair\\? | parameter-procedure=\\? | parameter\\? | parameterization\\? | parse-command-line | partition | path->bytes | path->complete-path | path->directory-path | path->string | path-add-extension | path-add-suffix | path-convention-type | path-element->bytes | path-element->string | path-element\\? | path-for-some-system\\? | path-get-extension | path-has-extension\\? | path-list-string->path-list | path-only | path-replace-extension | path-replace-suffix | path-string\\? | path<\\? | path\\? | peek-byte | peek-byte-or-special | peek-bytes | peek-bytes! | peek-bytes-avail! | peek-bytes-avail!\\* | peek-bytes-avail!\\/enable-break | peek-char | peek-char-or-special | peek-string | peek-string! | permutations | phantom-bytes\\? | pi | pi\\.f | pipe-content-length | place-break | place-channel | place-channel-get | place-channel-put | place-channel-put\\/get | place-channel\\? | place-dead-evt | place-enabled\\? | place-kill | place-location\\? | place-message-allowed\\? | place-sleep | place-wait | place\\? | placeholder-get | placeholder-set! | placeholder\\? | plumber-add-flush! | plumber-flush-all | plumber-flush-handle-remove! | plumber-flush-handle\\? | plumber\\? | poll-guard-evt | port->list | port-closed-evt | port-closed\\? | port-commit-peeked | port-count-lines! | port-count-lines-enabled | port-counts-lines\\? | port-display-handler | port-file-identity | port-file-unlock | port-next-location | port-number\\? | port-print-handler | port-progress-evt | port-provides-progress-evts\\? | port-read-handler | port-try-file-lock\\? | port-write-handler | port-writes-atomic\\? | port-writes-special\\? | port\\? | positive-integer\\? | positive\\? | predicate\\/c | prefab-key->struct-type | prefab-key\\? | prefab-struct-key | preferences-lock-file-mode | pregexp | pregexp\\? | pretty-display | pretty-print | pretty-print-\\.-symbol-without-bars | pretty-print-abbreviate-read-macros | pretty-print-columns | pretty-print-current-style-table | pretty-print-depth | pretty-print-exact-as-decimal | pretty-print-extend-style-table | pretty-print-handler | pretty-print-newline | pretty-print-post-print-hook | pretty-print-pre-print-hook | pretty-print-print-hook | pretty-print-print-line | pretty-print-remap-stylable | pretty-print-show-inexactness | pretty-print-size-hook | pretty-print-style-table\\? | pretty-printing | pretty-write | primitive-closure\\? | primitive-result-arity | primitive\\? | print | print-as-expression | print-boolean-long-form | print-box | print-graph | print-hash-table | print-mpair-curly-braces | print-pair-curly-braces | print-reader-abbreviations | print-struct | print-syntax-width | print-unreadable | print-vector-length | printable\\/c | printable<%> | printf | println | procedure->method | procedure-arity | procedure-arity-includes\\? | procedure-arity\\? | procedure-closure-contents-eq\\? | procedure-extract-target | procedure-impersonator\\*\\? | procedure-keywords | procedure-reduce-arity | procedure-reduce-keyword-arity | procedure-rename | procedure-result-arity | procedure-specialize | procedure-struct-type\\? | procedure\\? | processor-count | progress-evt\\? | promise-forced\\? | promise-running\\? | promise\\/name\\? | promise\\? | prop:arity-string | prop:arrow-contract | prop:arrow-contract-get-info | prop:arrow-contract\\? | prop:authentic | prop:blame | prop:chaperone-contract | prop:checked-procedure | prop:contract | prop:contracted | prop:custom-print-quotable | prop:custom-write | prop:dict | prop:equal\\+hash | prop:evt | prop:exn:missing-module | prop:exn:srclocs | prop:expansion-contexts | prop:flat-contract | prop:impersonator-of | prop:input-port | prop:liberal-define-context | prop:object-name | prop:opt-chaperone-contract | prop:opt-chaperone-contract-get-test | prop:opt-chaperone-contract\\? | prop:orc-contract | prop:orc-contract-get-subcontracts | prop:orc-contract\\? | prop:output-port | prop:place-location | prop:procedure | prop:recursive-contract | prop:recursive-contract-unroll | prop:recursive-contract\\? | prop:rename-transformer | prop:sequence | prop:set!-transformer | prop:stream | proper-subset\\? | pseudo-random-generator->vector | pseudo-random-generator-vector\\? | pseudo-random-generator\\? | put-preferences | putenv | quotient | quotient\\/remainder | radians->degrees | raise | raise-argument-error | raise-arguments-error | raise-arity-error | raise-contract-error | raise-mismatch-error | raise-range-error | raise-result-error | raise-syntax-error | raise-type-error | raise-user-error | random | random-seed | rational\\? | rationalize | read | read-accept-bar-quote | read-accept-box | read-accept-compiled | read-accept-dot | read-accept-graph | read-accept-infix-dot | read-accept-lang | read-accept-quasiquote | read-accept-reader | read-byte | read-byte-or-special | read-bytes | read-bytes! | read-bytes-avail! | read-bytes-avail!\\* | read-bytes-avail!\\/enable-break | read-bytes-line | read-case-sensitive | read-cdot | read-char | read-char-or-special | read-curly-brace-as-paren | read-curly-brace-with-tag | read-decimal-as-inexact | read-eval-print-loop | read-language | read-line | read-on-demand-source | read-square-bracket-as-paren | read-square-bracket-with-tag | read-string | read-string! | read-syntax | read-syntax\\/recursive | read\\/recursive | readtable-mapping | readtable\\? | real->decimal-string | real->double-flonum | real->floating-point-bytes | real->single-flonum | real-part | real\\? | reencode-input-port | reencode-output-port | regexp | regexp-match | regexp-match-exact\\? | regexp-match-peek | regexp-match-peek-immediate | regexp-match-peek-positions | regexp-match-peek-positions-immediate | regexp-match-peek-positions-immediate\\/end | regexp-match-peek-positions\\/end | regexp-match-positions | regexp-match-positions\\/end | regexp-match\\/end | regexp-match\\? | regexp-max-lookbehind | regexp-quote | regexp-replace | regexp-replace\\* | regexp-replace-quote | regexp-replaces | regexp-split | regexp-try-match | regexp\\? | relative-path\\? | remainder | remf | remf\\* | remove | remove\\* | remq | remq\\* | remv | remv\\* | rename-contract | rename-file-or-directory | rename-transformer-target | rename-transformer\\? | replace-evt | reroot-path | resolve-path | resolved-module-path-name | resolved-module-path\\? | rest | reverse | round | second | seconds->date | security-guard\\? | semaphore-peek-evt | semaphore-peek-evt\\? | semaphore-post | semaphore-try-wait\\? | semaphore-wait | semaphore-wait\\/enable-break | semaphore\\? | sequence->list | sequence->stream | sequence-add-between | sequence-andmap | sequence-append | sequence-count | sequence-filter | sequence-fold | sequence-for-each | sequence-generate | sequence-generate\\* | sequence-length | sequence-map | sequence-ormap | sequence-ref | sequence-tail | sequence\\? | set | set!-transformer-procedure | set!-transformer\\? | set->list | set->stream | set-add | set-add! | set-box! | set-clear | set-clear! | set-copy | set-copy-clear | set-count | set-empty\\? | set-eq\\? | set-equal\\? | set-eqv\\? | set-first | set-for-each | set-implements\\/c | set-implements\\? | set-intersect | set-intersect! | set-map | set-mcar! | set-mcdr! | set-member\\? | set-mutable\\? | set-phantom-bytes! | set-port-next-location! | set-remove | set-remove! | set-rest | set-subtract | set-subtract! | set-symmetric-difference | set-symmetric-difference! | set-union | set-union! | set-weak\\? | set=\\? | set\\? | seteq | seteqv | seventh | sgn | shared-bytes | shell-execute | shrink-path-wrt | shuffle | simple-form-path | simplify-path | sin | single-flonum\\? | sinh | sixth | skip-projection-wrapper\\? | sleep | some-system-path->string | special-comment-value | special-comment\\? | special-filter-input-port | split-at | split-at-right | split-common-prefix | split-path | splitf-at | splitf-at-right | sqr | sqrt | srcloc->string | srcloc-column | srcloc-line | srcloc-position | srcloc-source | srcloc-span | srcloc\\? | stop-after | stop-before | stream->list | stream-add-between | stream-andmap | stream-append | stream-count | stream-empty\\? | stream-filter | stream-first | stream-fold | stream-for-each | stream-length | stream-map | stream-ormap | stream-ref | stream-rest | stream-tail | stream\\/c | stream\\? | string | string->bytes\\/latin-1 | string->bytes\\/locale | string->bytes\\/utf-8 | string->immutable-string | string->keyword | string->list | string->number | string->path | string->path-element | string->some-system-path | string->symbol | string->uninterned-symbol | string->unreadable-symbol | string-append | string-append\\* | string-ci<=\\? | string-ci<\\? | string-ci=\\? | string-ci>=\\? | string-ci>\\? | string-contains\\? | string-copy | string-copy! | string-downcase | string-environment-variable-name\\? | string-fill! | string-foldcase | string-length | string-locale-ci<\\? | string-locale-ci=\\? | string-locale-ci>\\? | string-locale-downcase | string-locale-upcase | string-locale<\\? | string-locale=\\? | string-locale>\\? | string-no-nuls\\? | string-normalize-nfc | string-normalize-nfd | string-normalize-nfkc | string-normalize-nfkd | string-port\\? | string-prefix\\? | string-ref | string-set! | string-suffix\\? | string-titlecase | string-upcase | string-utf-8-length | string<=\\? | string<\\? | string=\\? | string>=\\? | string>\\? | string\\? | struct->vector | struct-accessor-procedure\\? | struct-constructor-procedure\\? | struct-info | struct-mutator-procedure\\? | struct-predicate-procedure\\? | struct-type-info | struct-type-make-constructor | struct-type-make-predicate | struct-type-property-accessor-procedure\\? | struct-type-property\\/c | struct-type-property\\? | struct-type\\? | struct:arity-at-least | struct:arrow-contract-info | struct:date | struct:date\\* | struct:exn | struct:exn:break | struct:exn:break:hang-up | struct:exn:break:terminate | struct:exn:fail | struct:exn:fail:contract | struct:exn:fail:contract:arity | struct:exn:fail:contract:blame | struct:exn:fail:contract:continuation | struct:exn:fail:contract:divide-by-zero | struct:exn:fail:contract:non-fixnum-result | struct:exn:fail:contract:variable | struct:exn:fail:filesystem | struct:exn:fail:filesystem:errno | struct:exn:fail:filesystem:exists | struct:exn:fail:filesystem:missing-module | struct:exn:fail:filesystem:version | struct:exn:fail:network | struct:exn:fail:network:errno | struct:exn:fail:object | struct:exn:fail:out-of-memory | struct:exn:fail:read | struct:exn:fail:read:eof | struct:exn:fail:read:non-char | struct:exn:fail:syntax | struct:exn:fail:syntax:missing-module | struct:exn:fail:syntax:unbound | struct:exn:fail:unsupported | struct:exn:fail:user | struct:srcloc | struct:wrapped-extra-arg-arrow | struct\\? | sub1 | subbytes | subclass\\? | subclass\\?\\/c | subprocess | subprocess-group-enabled | subprocess-kill | subprocess-pid | subprocess-status | subprocess-wait | subprocess\\? | subset\\? | substring | suggest\\/c | symbol->string | symbol-interned\\? | symbol-unreadable\\? | symbol<\\? | symbol=\\? | symbol\\? | sync | sync\\/enable-break | sync\\/timeout | sync\\/timeout\\/enable-break | syntax->datum | syntax->list | syntax-arm | syntax-column | syntax-debug-info | syntax-disarm | syntax-e | syntax-line | syntax-local-bind-syntaxes | syntax-local-certifier | syntax-local-context | syntax-local-expand-expression | syntax-local-get-shadower | syntax-local-identifier-as-binding | syntax-local-introduce | syntax-local-lift-context | syntax-local-lift-expression | syntax-local-lift-module | syntax-local-lift-module-end-declaration | syntax-local-lift-provide | syntax-local-lift-require | syntax-local-lift-values-expression | syntax-local-make-definition-context | syntax-local-make-delta-introducer | syntax-local-module-defined-identifiers | syntax-local-module-exports | syntax-local-module-required-identifiers | syntax-local-name | syntax-local-phase-level | syntax-local-submodules | syntax-local-transforming-module-provides\\? | syntax-local-value | syntax-local-value\\/immediate | syntax-original\\? | syntax-position | syntax-property | syntax-property-preserved\\? | syntax-property-symbol-keys | syntax-protect | syntax-rearm | syntax-recertify | syntax-shift-phase-level | syntax-source | syntax-source-module | syntax-span | syntax-taint | syntax-tainted\\? | syntax-track-origin | syntax-transforming-module-expression\\? | syntax-transforming-with-lifts\\? | syntax-transforming\\? | syntax\\? | system-big-endian\\? | system-idle-evt | system-language\\+country | system-library-subpath | system-path-convention-type | system-type | tail-marks-match\\? | take | take-common-prefix | take-right | takef | takef-right | tan | tanh | tcp-abandon-port | tcp-accept | tcp-accept-evt | tcp-accept-ready\\? | tcp-accept\\/enable-break | tcp-addresses | tcp-close | tcp-connect | tcp-connect\\/enable-break | tcp-listen | tcp-listener\\? | tcp-port\\? | tentative-pretty-print-port-cancel | tentative-pretty-print-port-transfer | tenth | terminal-port\\? | the-unsupplied-arg | third | thread | thread-cell-ref | thread-cell-set! | thread-cell-values\\? | thread-cell\\? | thread-dead-evt | thread-dead\\? | thread-group\\? | thread-receive | thread-receive-evt | thread-resume | thread-resume-evt | thread-rewind-receive | thread-running\\? | thread-send | thread-suspend | thread-suspend-evt | thread-try-receive | thread-wait | thread\\/suspend-to-kill | thread\\? | time-apply | touch | true | truncate | udp-addresses | udp-bind! | udp-bound\\? | udp-close | udp-connect! | udp-connected\\? | udp-multicast-interface | udp-multicast-join-group! | udp-multicast-leave-group! | udp-multicast-loopback\\? | udp-multicast-set-interface! | udp-multicast-set-loopback! | udp-multicast-set-ttl! | udp-multicast-ttl | udp-open-socket | udp-receive! | udp-receive!\\* | udp-receive!-evt | udp-receive!\\/enable-break | udp-receive-ready-evt | udp-send | udp-send\\* | udp-send-evt | udp-send-ready-evt | udp-send-to | udp-send-to\\* | udp-send-to-evt | udp-send-to\\/enable-break | udp-send\\/enable-break | udp\\? | unbox | uncaught-exception-handler | unit\\? | unquoted-printing-string | unquoted-printing-string-value | unquoted-printing-string\\? | unspecified-dom | unsupplied-arg\\? | use-collection-link-paths | use-compiled-file-check | use-compiled-file-paths | use-user-specific-search-paths | user-execute-bit | user-read-bit | user-write-bit | value-blame | value-contract | values | variable-reference->empty-namespace | variable-reference->module-base-phase | variable-reference->module-declaration-inspector | variable-reference->module-path-index | variable-reference->module-source | variable-reference->namespace | variable-reference->phase | variable-reference->resolved-module-path | variable-reference-constant\\? | variable-reference\\? | vector | vector->immutable-vector | vector->list | vector->pseudo-random-generator | vector->pseudo-random-generator! | vector->values | vector-append | vector-argmax | vector-argmin | vector-cas! | vector-copy | vector-copy! | vector-count | vector-drop | vector-drop-right | vector-fill! | vector-filter | vector-filter-not | vector-immutable | vector-length | vector-map | vector-map! | vector-member | vector-memq | vector-memv | vector-ref | vector-set! | vector-set\\*! | vector-set-performance-stats! | vector-split-at | vector-split-at-right | vector-take | vector-take-right | vector\\? | version | void | void\\? | weak-box-value | weak-box\\? | weak-set | weak-seteq | weak-seteqv | will-execute | will-executor\\? | will-register | will-try-execute | with-input-from-bytes | with-input-from-string | with-output-to-bytes | with-output-to-string | would-be-future | wrap-evt | wrapped-extra-arg-arrow-extra-neg-party-argument | wrapped-extra-arg-arrow-real-func | wrapped-extra-arg-arrow\\? | writable<%> | write | write-byte | write-bytes | write-bytes-avail | write-bytes-avail\\* | write-bytes-avail-evt | write-bytes-avail\\/enable-break | write-char | write-special | write-special-avail\\* | write-special-evt | write-string | writeln | xor | zero\\?\n) (?=$|[()\\[\\]{}\",'`;\\s])" + "match": "(?<=$|[()\\[\\]{}\",'`;\\s])(\\.\\.\\.|_|syntax-id-rules|syntax-rules|\\#%app|\\#%datum|\\#%declare|\\#%expression|\\#%module-begin|\\#%plain-app|\\#%plain-lambda|\\#%plain-module-begin|\\#%printing-module-begin|\\#%provide|\\#%require|\\#%stratified-body|\\#%top|\\#%top-interaction|\\#%variable-reference|\\.\\.\\.|:do-in|=>|_|all-defined-out|all-from-out|and|apply|arity-at-least|begin|begin-for-syntax|begin0|call-with-input-file|call-with-input-file\\*|call-with-output-file|call-with-output-file\\*|case|case-lambda|combine-in|combine-out|cond|date|date\\*|define|define-for-syntax|define-logger|define-namespace-anchor|define-sequence-syntax|define-struct|define-struct\\/derived|define-syntax|define-syntax-rule|define-syntaxes|define-values|define-values-for-syntax|do|else|except-in|except-out|exn|exn:break|exn:break:hang-up|exn:break:terminate|exn:fail|exn:fail:contract|exn:fail:contract:arity|exn:fail:contract:continuation|exn:fail:contract:divide-by-zero|exn:fail:contract:non-fixnum-result|exn:fail:contract:variable|exn:fail:filesystem|exn:fail:filesystem:errno|exn:fail:filesystem:exists|exn:fail:filesystem:missing-module|exn:fail:filesystem:version|exn:fail:network|exn:fail:network:errno|exn:fail:out-of-memory|exn:fail:read|exn:fail:read:eof|exn:fail:read:non-char|exn:fail:syntax|exn:fail:syntax:missing-module|exn:fail:syntax:unbound|exn:fail:unsupported|exn:fail:user|file|for|for\\*|for\\*\\/and|for\\*\\/first|for\\*\\/fold|for\\*\\/fold\\/derived|for\\*\\/hash|for\\*\\/hasheq|for\\*\\/hasheqv|for\\*\\/last|for\\*\\/list|for\\*\\/lists|for\\*\\/or|for\\*\\/product|for\\*\\/sum|for\\*\\/vector|for-label|for-meta|for-syntax|for-template|for\\/and|for\\/first|for\\/fold|for\\/fold\\/derived|for\\/hash|for\\/hasheq|for\\/hasheqv|for\\/last|for\\/list|for\\/lists|for\\/or|for\\/product|for\\/sum|for\\/vector|gen:custom-write|gen:equal\\+hash|if|in-bytes|in-bytes-lines|in-directory|in-hash|in-hash-keys|in-hash-pairs|in-hash-values|in-immutable-hash|in-immutable-hash-keys|in-immutable-hash-pairs|in-immutable-hash-values|in-indexed|in-input-port-bytes|in-input-port-chars|in-lines|in-list|in-mlist|in-mutable-hash|in-mutable-hash-keys|in-mutable-hash-pairs|in-mutable-hash-values|in-naturals|in-port|in-producer|in-range|in-string|in-value|in-vector|in-weak-hash|in-weak-hash-keys|in-weak-hash-pairs|in-weak-hash-values|lambda|let|let\\*|let\\*-values|let-syntax|let-syntaxes|let-values|let\\/cc|let\\/ec|letrec|letrec-syntax|letrec-syntaxes|letrec-syntaxes\\+values|letrec-values|lib|local-require|log-debug|log-error|log-fatal|log-info|log-warning|module|module\\*|module\\+|only-in|only-meta-in|open-input-file|open-input-output-file|open-output-file|or|parameterize|parameterize\\*|parameterize-break|planet|prefix-in|prefix-out|protect-out|provide|quasiquote|quasisyntax|quasisyntax\\/loc|quote|quote-syntax|quote-syntax\\/prune|regexp-match\\*|regexp-match-peek-positions\\*|regexp-match-positions\\*|relative-in|rename-in|rename-out|require|set!|set!-values|sort|srcloc|struct|struct-copy|struct-field-index|struct-out|submod|syntax|syntax-case|syntax-case\\*|syntax-id-rules|syntax-rules|syntax\\/loc|time|unless|unquote|unquote-splicing|unsyntax|unsyntax-splicing|when|with-continuation-mark|with-handlers|with-handlers\\*|with-input-from-file|with-output-to-file|with-syntax|λ|\\#%app|\\#%datum|\\#%declare|\\#%expression|\\#%module-begin|\\#%plain-app|\\#%plain-lambda|\\#%plain-module-begin|\\#%printing-module-begin|\\#%provide|\\#%require|\\#%stratified-body|\\#%top|\\#%top-interaction|\\#%variable-reference|->|->\\*|->\\*m|->d|->dm|->i|->m|\\.\\.\\.|:do-in|<=\\/c|=\\/c|==|=>|>=\\/c|_|absent|abstract|add-between|all-defined-out|all-from-out|and|and\\/c|any|any\\/c|apply|arity-at-least|arrow-contract-info|augment|augment\\*|augment-final|augment-final\\*|augride|augride\\*|bad-number-of-results|begin|begin-for-syntax|begin0|between\\/c|blame-add-context|box-immutable\\/c|box\\/c|call-with-atomic-output-file|call-with-file-lock\\/timeout|call-with-input-file|call-with-input-file\\*|call-with-output-file|call-with-output-file\\*|case|case->|case->m|case-lambda|channel\\/c|char-in\\/c|check-duplicates|class|class\\*|class-field-accessor|class-field-mutator|class\\/c|class\\/derived|combine-in|combine-out|command-line|compound-unit|compound-unit\\/infer|cond|cons\\/c|cons\\/dc|continuation-mark-key\\/c|contract|contract-exercise|contract-out|contract-struct|contracted|copy-directory\\/files|current-contract-region|date|date\\*|define|define-compound-unit|define-compound-unit\\/infer|define-contract-struct|define-custom-hash-types|define-custom-set-types|define-for-syntax|define-local-member-name|define-logger|define-match-expander|define-member-name|define-module-boundary-contract|define-namespace-anchor|define-opt\\/c|define-sequence-syntax|define-serializable-class|define-serializable-class\\*|define-signature|define-signature-form|define-struct|define-struct\\/contract|define-struct\\/derived|define-syntax|define-syntax-rule|define-syntaxes|define-unit|define-unit-binding|define-unit-from-context|define-unit\\/contract|define-unit\\/new-import-export|define-unit\\/s|define-values|define-values-for-export|define-values-for-syntax|define-values\\/invoke-unit|define-values\\/invoke-unit\\/infer|define\\/augment|define\\/augment-final|define\\/augride|define\\/contract|define\\/final-prop|define\\/match|define\\/overment|define\\/override|define\\/override-final|define\\/private|define\\/public|define\\/public-final|define\\/pubment|define\\/subexpression-pos-prop|define\\/subexpression-pos-prop\\/name|delay|delay\\/idle|delay\\/name|delay\\/strict|delay\\/sync|delay\\/thread|delete-directory\\/files|dict->list|dict-can-functional-set\\?|dict-can-remove-keys\\?|dict-clear|dict-clear!|dict-copy|dict-count|dict-empty\\?|dict-for-each|dict-has-key\\?|dict-implements\\/c|dict-implements\\?|dict-iterate-first|dict-iterate-key|dict-iterate-next|dict-iterate-value|dict-keys|dict-map|dict-mutable\\?|dict-ref|dict-ref!|dict-remove|dict-remove!|dict-set|dict-set!|dict-set\\*|dict-set\\*!|dict-update|dict-update!|dict-values|dict\\?|display-lines|display-lines-to-file|display-to-file|do|dynamic->\\*|dynamic-place|dynamic-place\\*|else|eof-evt|except|except-in|except-out|exn|exn:break|exn:break:hang-up|exn:break:terminate|exn:fail|exn:fail:contract|exn:fail:contract:arity|exn:fail:contract:blame|exn:fail:contract:continuation|exn:fail:contract:divide-by-zero|exn:fail:contract:non-fixnum-result|exn:fail:contract:variable|exn:fail:filesystem|exn:fail:filesystem:errno|exn:fail:filesystem:exists|exn:fail:filesystem:missing-module|exn:fail:filesystem:version|exn:fail:network|exn:fail:network:errno|exn:fail:object|exn:fail:out-of-memory|exn:fail:read|exn:fail:read:eof|exn:fail:read:non-char|exn:fail:syntax|exn:fail:syntax:missing-module|exn:fail:syntax:unbound|exn:fail:unsupported|exn:fail:user|export|extends|failure-cont|field|field-bound\\?|file|file->bytes|file->bytes-lines|file->lines|file->list|file->string|file->value|find-files|find-relative-path|first-or\\/c|flat-contract-with-explanation|flat-murec-contract|flat-rec-contract|for|for\\*|for\\*\\/and|for\\*\\/async|for\\*\\/first|for\\*\\/fold|for\\*\\/fold\\/derived|for\\*\\/hash|for\\*\\/hasheq|for\\*\\/hasheqv|for\\*\\/last|for\\*\\/list|for\\*\\/lists|for\\*\\/mutable-set|for\\*\\/mutable-seteq|for\\*\\/mutable-seteqv|for\\*\\/or|for\\*\\/product|for\\*\\/set|for\\*\\/seteq|for\\*\\/seteqv|for\\*\\/stream|for\\*\\/sum|for\\*\\/vector|for\\*\\/weak-set|for\\*\\/weak-seteq|for\\*\\/weak-seteqv|for-label|for-meta|for-syntax|for-template|for\\/and|for\\/async|for\\/first|for\\/fold|for\\/fold\\/derived|for\\/hash|for\\/hasheq|for\\/hasheqv|for\\/last|for\\/list|for\\/lists|for\\/mutable-set|for\\/mutable-seteq|for\\/mutable-seteqv|for\\/or|for\\/product|for\\/set|for\\/seteq|for\\/seteqv|for\\/stream|for\\/sum|for\\/vector|for\\/weak-set|for\\/weak-seteq|for\\/weak-seteqv|gen:custom-write|gen:dict|gen:equal\\+hash|gen:set|gen:stream|generic|get-field|get-preference|hash\\/c|hash\\/dc|if|implies|import|in-bytes|in-bytes-lines|in-dict|in-dict-keys|in-dict-values|in-directory|in-hash|in-hash-keys|in-hash-pairs|in-hash-values|in-immutable-hash|in-immutable-hash-keys|in-immutable-hash-pairs|in-immutable-hash-values|in-immutable-set|in-indexed|in-input-port-bytes|in-input-port-chars|in-lines|in-list|in-mlist|in-mutable-hash|in-mutable-hash-keys|in-mutable-hash-pairs|in-mutable-hash-values|in-mutable-set|in-naturals|in-port|in-producer|in-range|in-set|in-slice|in-stream|in-string|in-syntax|in-value|in-vector|in-weak-hash|in-weak-hash-keys|in-weak-hash-pairs|in-weak-hash-values|in-weak-set|include|include-at\\/relative-to|include-at\\/relative-to\\/reader|include\\/reader|inherit|inherit-field|inherit\\/inner|inherit\\/super|init|init-depend|init-field|init-rest|inner|inspect|instantiate|integer-in|interface|interface\\*|invariant-assertion|invoke-unit|invoke-unit\\/infer|lambda|lazy|let|let\\*|let\\*-values|let-syntax|let-syntaxes|let-values|let\\/cc|let\\/ec|letrec|letrec-syntax|letrec-syntaxes|letrec-syntaxes\\+values|letrec-values|lib|link|list\\*of|list\\/c|listof|local|local-require|log-debug|log-error|log-fatal|log-info|log-warning|make-custom-hash|make-custom-hash-types|make-custom-set|make-custom-set-types|make-handle-get-preference-locked|make-immutable-custom-hash|make-mutable-custom-set|make-object|make-temporary-file|make-weak-custom-hash|make-weak-custom-set|match|match\\*|match\\*\\/derived|match-define|match-define-values|match-lambda|match-lambda\\*|match-lambda\\*\\*|match-let|match-let\\*|match-let\\*-values|match-let-values|match-letrec|match-letrec-values|match\\/derived|match\\/values|member-name-key|mixin|module|module\\*|module\\+|nand|new|new-∀\\/c|new-∃\\/c|non-empty-listof|none\\/c|nor|not\\/c|object-contract|object\\/c|one-of\\/c|only|only-in|only-meta-in|open|open-input-file|open-input-output-file|open-output-file|opt\\/c|or|or\\/c|overment|overment\\*|override|override\\*|override-final|override-final\\*|parameter\\/c|parameterize|parameterize\\*|parameterize-break|parametric->\\/c|pathlist-closure|peek-bytes!-evt|peek-bytes-avail!-evt|peek-bytes-evt|peek-string!-evt|peek-string-evt|peeking-input-port|place|place\\*|place\\/context|planet|port->bytes|port->bytes-lines|port->lines|port->string|prefix|prefix-in|prefix-out|pretty-format|private|private\\*|procedure-arity-includes\\/c|process|process\\*|process\\*\\/ports|process\\/ports|promise\\/c|prompt-tag\\/c|prop:dict\\/contract|protect-out|provide|provide-signature-elements|provide\\/contract|public|public\\*|public-final|public-final\\*|pubment|pubment\\*|quasiquote|quasisyntax|quasisyntax\\/loc|quote|quote-syntax|quote-syntax\\/prune|raise-blame-error|raise-not-cons-blame-error|range|read-bytes!-evt|read-bytes-avail!-evt|read-bytes-evt|read-bytes-line-evt|read-line-evt|read-string!-evt|read-string-evt|real-in|recontract-out|recursive-contract|regexp-match\\*|regexp-match-evt|regexp-match-peek-positions\\*|regexp-match-positions\\*|relative-in|relocate-input-port|relocate-output-port|remove-duplicates|rename|rename-in|rename-inner|rename-out|rename-super|require|send|send\\*|send\\+|send-generic|send\\/apply|send\\/keyword-apply|sequence\\/c|set!|set!-values|set-field!|set\\/c|shared|sort|srcloc|stream|stream\\*|stream-cons|string-join|string-len\\/c|string-normalize-spaces|string-replace|string-split|string-trim|struct|struct\\*|struct-copy|struct-field-index|struct-out|struct\\/c|struct\\/ctc|struct\\/dc|submod|super|super-instantiate|super-make-object|super-new|symbols|syntax|syntax-case|syntax-case\\*|syntax-id-rules|syntax-rules|syntax\\/c|syntax\\/loc|system|system\\*|system\\*\\/exit-code|system\\/exit-code|tag|this|this%|thunk|thunk\\*|time|transplant-input-port|transplant-output-port|unconstrained-domain->|unit|unit-from-context|unit\\/c|unit\\/new-import-export|unit\\/s|unless|unquote|unquote-splicing|unsyntax|unsyntax-splicing|values\\/drop|vector-immutable\\/c|vector-immutableof|vector-sort|vector-sort!|vector\\/c|vectorof|when|with-continuation-mark|with-contract|with-contract-continuation-mark|with-handlers|with-handlers\\*|with-input-from-file|with-method|with-output-to-file|with-syntax|wrapped-extra-arg-arrow|write-to-file|~\\.a|~\\.s|~\\.v|~a|~e|~r|~s|~v|λ|expand-for-clause|for-clause-syntax-protect|syntax-pattern-variable\\?|\\*|\\+|-|\\/|<|<=|=|>|>=|abort-current-continuation|abs|absolute-path\\?|acos|add1|alarm-evt|always-evt|andmap|angle|append|arithmetic-shift|arity-at-least-value|arity-at-least\\?|asin|assf|assoc|assq|assv|atan|banner|bitwise-and|bitwise-bit-field|bitwise-bit-set\\?|bitwise-ior|bitwise-not|bitwise-xor|boolean\\?|bound-identifier=\\?|box|box-cas!|box-immutable|box\\?|break-enabled|break-parameterization\\?|break-thread|build-list|build-path|build-path\\/convention-type|build-string|build-vector|byte-pregexp|byte-pregexp\\?|byte-ready\\?|byte-regexp|byte-regexp\\?|byte\\?|bytes|bytes->immutable-bytes|bytes->list|bytes->path|bytes->path-element|bytes->string\\/latin-1|bytes->string\\/locale|bytes->string\\/utf-8|bytes-append|bytes-close-converter|bytes-convert|bytes-convert-end|bytes-converter\\?|bytes-copy|bytes-copy!|bytes-environment-variable-name\\?|bytes-fill!|bytes-length|bytes-open-converter|bytes-ref|bytes-set!|bytes-utf-8-index|bytes-utf-8-length|bytes-utf-8-ref|bytes<\\?|bytes=\\?|bytes>\\?|bytes\\?|caaaar|caaadr|caaar|caadar|caaddr|caadr|caar|cadaar|cadadr|cadar|caddar|cadddr|caddr|cadr|call-in-nested-thread|call-with-break-parameterization|call-with-composable-continuation|call-with-continuation-barrier|call-with-continuation-prompt|call-with-current-continuation|call-with-default-reading-parameterization|call-with-escape-continuation|call-with-exception-handler|call-with-immediate-continuation-mark|call-with-parameterization|call-with-semaphore|call-with-semaphore\\/enable-break|call-with-values|call\\/cc|call\\/ec|car|cdaaar|cdaadr|cdaar|cdadar|cdaddr|cdadr|cdar|cddaar|cddadr|cddar|cdddar|cddddr|cdddr|cddr|cdr|ceiling|channel-get|channel-put|channel-put-evt|channel-put-evt\\?|channel-try-get|channel\\?|chaperone-box|chaperone-channel|chaperone-continuation-mark-key|chaperone-evt|chaperone-hash|chaperone-of\\?|chaperone-procedure|chaperone-procedure\\*|chaperone-prompt-tag|chaperone-struct|chaperone-struct-type|chaperone-vector|chaperone-vector\\*|chaperone\\?|char->integer|char-alphabetic\\?|char-blank\\?|char-ci<=\\?|char-ci<\\?|char-ci=\\?|char-ci>=\\?|char-ci>\\?|char-downcase|char-foldcase|char-general-category|char-graphic\\?|char-iso-control\\?|char-lower-case\\?|char-numeric\\?|char-punctuation\\?|char-ready\\?|char-symbolic\\?|char-title-case\\?|char-titlecase|char-upcase|char-upper-case\\?|char-utf-8-length|char-whitespace\\?|char<=\\?|char<\\?|char=\\?|char>=\\?|char>\\?|char\\?|check-duplicate-identifier|check-tail-contract|checked-procedure-check-and-extract|choice-evt|cleanse-path|close-input-port|close-output-port|collect-garbage|collection-file-path|collection-path|compile|compile-allow-set!-undefined|compile-context-preservation-enabled|compile-enforce-module-constants|compile-syntax|compiled-expression-recompile|compiled-expression\\?|compiled-module-expression\\?|complete-path\\?|complex\\?|compose|compose1|cons|continuation-mark-key\\?|continuation-mark-set->context|continuation-mark-set->list|continuation-mark-set->list\\*|continuation-mark-set-first|continuation-mark-set\\?|continuation-marks|continuation-prompt-available\\?|continuation-prompt-tag\\?|continuation\\?|copy-file|cos|current-break-parameterization|current-code-inspector|current-command-line-arguments|current-compile|current-compiled-file-roots|current-continuation-marks|current-custodian|current-directory|current-directory-for-user|current-drive|current-environment-variables|current-error-port|current-eval|current-evt-pseudo-random-generator|current-force-delete-permissions|current-gc-milliseconds|current-get-interaction-input-port|current-inexact-milliseconds|current-input-port|current-inspector|current-library-collection-links|current-library-collection-paths|current-load|current-load-extension|current-load-relative-directory|current-load\\/use-compiled|current-locale|current-logger|current-memory-use|current-milliseconds|current-module-declare-name|current-module-declare-source|current-module-name-resolver|current-module-path-for-load|current-namespace|current-output-port|current-parameterization|current-plumber|current-preserved-thread-cell-values|current-print|current-process-milliseconds|current-prompt-read|current-pseudo-random-generator|current-read-interaction|current-reader-guard|current-readtable|current-seconds|current-security-guard|current-subprocess-custodian-mode|current-thread|current-thread-group|current-thread-initial-stack-size|current-write-relative-directory|custodian-box-value|custodian-box\\?|custodian-limit-memory|custodian-managed-list|custodian-memory-accounting-available\\?|custodian-require-memory|custodian-shut-down\\?|custodian-shutdown-all|custodian\\?|custom-print-quotable-accessor|custom-print-quotable\\?|custom-write-accessor|custom-write\\?|date\\*-nanosecond|date\\*-time-zone-name|date\\*\\?|date-day|date-dst\\?|date-hour|date-minute|date-month|date-second|date-time-zone-offset|date-week-day|date-year|date-year-day|date\\?|datum->syntax|datum-intern-literal|default-continuation-prompt-tag|delete-directory|delete-file|denominator|directory-exists\\?|directory-list|display|displayln|double-flonum\\?|dump-memory-stats|dynamic-require|dynamic-require-for-syntax|dynamic-wind|environment-variables-copy|environment-variables-names|environment-variables-ref|environment-variables-set!|environment-variables\\?|eof|eof-object\\?|ephemeron-value|ephemeron\\?|eprintf|eq-hash-code|eq\\?|equal-hash-code|equal-secondary-hash-code|equal\\?|equal\\?\\/recur|eqv-hash-code|eqv\\?|error|error-display-handler|error-escape-handler|error-print-context-length|error-print-source-location|error-print-width|error-value->string-handler|eval|eval-jit-enabled|eval-syntax|even\\?|evt\\?|exact->inexact|exact-integer\\?|exact-nonnegative-integer\\?|exact-positive-integer\\?|exact\\?|executable-yield-handler|exit|exit-handler|exn-continuation-marks|exn-message|exn:break-continuation|exn:break:hang-up\\?|exn:break:terminate\\?|exn:break\\?|exn:fail:contract:arity\\?|exn:fail:contract:continuation\\?|exn:fail:contract:divide-by-zero\\?|exn:fail:contract:non-fixnum-result\\?|exn:fail:contract:variable-id|exn:fail:contract:variable\\?|exn:fail:contract\\?|exn:fail:filesystem:errno-errno|exn:fail:filesystem:errno\\?|exn:fail:filesystem:exists\\?|exn:fail:filesystem:missing-module-path|exn:fail:filesystem:missing-module\\?|exn:fail:filesystem:version\\?|exn:fail:filesystem\\?|exn:fail:network:errno-errno|exn:fail:network:errno\\?|exn:fail:network\\?|exn:fail:out-of-memory\\?|exn:fail:read-srclocs|exn:fail:read:eof\\?|exn:fail:read:non-char\\?|exn:fail:read\\?|exn:fail:syntax-exprs|exn:fail:syntax:missing-module-path|exn:fail:syntax:missing-module\\?|exn:fail:syntax:unbound\\?|exn:fail:syntax\\?|exn:fail:unsupported\\?|exn:fail:user\\?|exn:fail\\?|exn:missing-module-accessor|exn:missing-module\\?|exn:srclocs-accessor|exn:srclocs\\?|exn\\?|exp|expand|expand-for-clause|expand-once|expand-syntax|expand-syntax-once|expand-syntax-to-top-form|expand-to-top-form|expand-user-path|explode-path|expt|file-exists\\?|file-or-directory-identity|file-or-directory-modify-seconds|file-or-directory-permissions|file-position|file-position\\*|file-size|file-stream-buffer-mode|file-stream-port\\?|file-truncate|filesystem-change-evt|filesystem-change-evt-cancel|filesystem-change-evt\\?|filesystem-root-list|filter|find-executable-path|find-library-collection-links|find-library-collection-paths|find-system-path|findf|fixnum\\?|floating-point-bytes->real|flonum\\?|floor|flush-output|foldl|foldr|for-clause-syntax-protect|for-each|format|fprintf|free-identifier=\\?|free-label-identifier=\\?|free-template-identifier=\\?|free-transformer-identifier=\\?|gcd|generate-temporaries|gensym|get-output-bytes|get-output-string|getenv|global-port-print-handler|guard-evt|handle-evt|handle-evt\\?|hash|hash->list|hash-clear|hash-clear!|hash-copy|hash-copy-clear|hash-count|hash-empty\\?|hash-eq\\?|hash-equal\\?|hash-eqv\\?|hash-for-each|hash-has-key\\?|hash-iterate-first|hash-iterate-key|hash-iterate-key\\+value|hash-iterate-next|hash-iterate-pair|hash-iterate-value|hash-keys|hash-keys-subset\\?|hash-map|hash-placeholder\\?|hash-ref|hash-ref!|hash-remove|hash-remove!|hash-set|hash-set!|hash-set\\*|hash-set\\*!|hash-update|hash-update!|hash-values|hash-weak\\?|hash\\?|hasheq|hasheqv|identifier-binding|identifier-binding-symbol|identifier-label-binding|identifier-prune-lexical-context|identifier-prune-to-source-module|identifier-remove-from-definition-context|identifier-template-binding|identifier-transformer-binding|identifier\\?|imag-part|immutable\\?|impersonate-box|impersonate-channel|impersonate-continuation-mark-key|impersonate-hash|impersonate-procedure|impersonate-procedure\\*|impersonate-prompt-tag|impersonate-struct|impersonate-vector|impersonate-vector\\*|impersonator-ephemeron|impersonator-of\\?|impersonator-prop:application-mark|impersonator-property-accessor-procedure\\?|impersonator-property\\?|impersonator\\?|in-cycle|in-parallel|in-sequences|in-values\\*-sequence|in-values-sequence|inexact->exact|inexact-real\\?|inexact\\?|input-port\\?|inspector-superior\\?|inspector\\?|integer->char|integer->integer-bytes|integer-bytes->integer|integer-length|integer-sqrt|integer-sqrt\\/remainder|integer\\?|internal-definition-context-binding-identifiers|internal-definition-context-introduce|internal-definition-context-seal|internal-definition-context\\?|keyword->string|keyword-apply|keyword<\\?|keyword\\?|kill-thread|lcm|legacy-match-expander\\?|length|liberal-define-context\\?|link-exists\\?|list|list\\*|list->bytes|list->string|list->vector|list-ref|list-tail|list\\?|load|load-extension|load-on-demand-enabled|load-relative|load-relative-extension|load\\/cd|load\\/use-compiled|local-expand|local-expand\\/capture-lifts|local-transformer-expand|local-transformer-expand\\/capture-lifts|locale-string-encoding|log|log-all-levels|log-level-evt|log-level\\?|log-max-level|log-message|log-receiver\\?|logger-name|logger\\?|magnitude|make-arity-at-least|make-base-empty-namespace|make-base-namespace|make-bytes|make-channel|make-continuation-mark-key|make-continuation-prompt-tag|make-custodian|make-custodian-box|make-date|make-date\\*|make-derived-parameter|make-directory|make-do-sequence|make-empty-namespace|make-environment-variables|make-ephemeron|make-exn|make-exn:break|make-exn:break:hang-up|make-exn:break:terminate|make-exn:fail|make-exn:fail:contract|make-exn:fail:contract:arity|make-exn:fail:contract:continuation|make-exn:fail:contract:divide-by-zero|make-exn:fail:contract:non-fixnum-result|make-exn:fail:contract:variable|make-exn:fail:filesystem|make-exn:fail:filesystem:errno|make-exn:fail:filesystem:exists|make-exn:fail:filesystem:missing-module|make-exn:fail:filesystem:version|make-exn:fail:network|make-exn:fail:network:errno|make-exn:fail:out-of-memory|make-exn:fail:read|make-exn:fail:read:eof|make-exn:fail:read:non-char|make-exn:fail:syntax|make-exn:fail:syntax:missing-module|make-exn:fail:syntax:unbound|make-exn:fail:unsupported|make-exn:fail:user|make-file-or-directory-link|make-hash|make-hash-placeholder|make-hasheq|make-hasheq-placeholder|make-hasheqv|make-hasheqv-placeholder|make-immutable-hash|make-immutable-hasheq|make-immutable-hasheqv|make-impersonator-property|make-input-port|make-inspector|make-keyword-procedure|make-known-char-range-list|make-log-receiver|make-logger|make-output-port|make-parameter|make-phantom-bytes|make-pipe|make-placeholder|make-plumber|make-polar|make-prefab-struct|make-pseudo-random-generator|make-reader-graph|make-readtable|make-rectangular|make-rename-transformer|make-resolved-module-path|make-security-guard|make-semaphore|make-set!-transformer|make-shared-bytes|make-sibling-inspector|make-special-comment|make-srcloc|make-string|make-struct-field-accessor|make-struct-field-mutator|make-struct-type|make-struct-type-property|make-syntax-delta-introducer|make-syntax-introducer|make-thread-cell|make-thread-group|make-vector|make-weak-box|make-weak-hash|make-weak-hasheq|make-weak-hasheqv|make-will-executor|map|match-\\.\\.\\.-nesting|match-expander\\?|max|mcar|mcdr|mcons|member|memf|memq|memv|min|module->exports|module->imports|module->indirect-exports|module->language-info|module->namespace|module-compiled-cross-phase-persistent\\?|module-compiled-exports|module-compiled-imports|module-compiled-indirect-exports|module-compiled-language-info|module-compiled-name|module-compiled-submodules|module-declared\\?|module-path-index-join|module-path-index-resolve|module-path-index-split|module-path-index-submodule|module-path-index\\?|module-path\\?|module-predefined\\?|module-provide-protected\\?|modulo|mpair\\?|nack-guard-evt|namespace-anchor->empty-namespace|namespace-anchor->namespace|namespace-anchor\\?|namespace-attach-module|namespace-attach-module-declaration|namespace-base-phase|namespace-mapped-symbols|namespace-module-identifier|namespace-module-registry|namespace-require|namespace-require\\/constant|namespace-require\\/copy|namespace-require\\/expansion-time|namespace-set-variable-value!|namespace-symbol->identifier|namespace-syntax-introduce|namespace-undefine-variable!|namespace-unprotect-module|namespace-variable-value|namespace\\?|negative\\?|never-evt|newline|normal-case-path|not|null|null\\?|number->string|number\\?|numerator|object-name|odd\\?|open-input-bytes|open-input-string|open-output-bytes|open-output-string|ormap|output-port\\?|pair\\?|parameter-procedure=\\?|parameter\\?|parameterization\\?|parse-leftover->\\*|path->bytes|path->complete-path|path->directory-path|path->string|path-add-extension|path-add-suffix|path-convention-type|path-element->bytes|path-element->string|path-for-some-system\\?|path-list-string->path-list|path-replace-extension|path-replace-suffix|path-string\\?|path<\\?|path\\?|peek-byte|peek-byte-or-special|peek-bytes|peek-bytes!|peek-bytes-avail!|peek-bytes-avail!\\*|peek-bytes-avail!\\/enable-break|peek-char|peek-char-or-special|peek-string|peek-string!|phantom-bytes\\?|pipe-content-length|placeholder-get|placeholder-set!|placeholder\\?|plumber-add-flush!|plumber-flush-all|plumber-flush-handle-remove!|plumber-flush-handle\\?|plumber\\?|poll-guard-evt|port-closed-evt|port-closed\\?|port-commit-peeked|port-count-lines!|port-count-lines-enabled|port-counts-lines\\?|port-display-handler|port-file-identity|port-file-unlock|port-next-location|port-print-handler|port-progress-evt|port-provides-progress-evts\\?|port-read-handler|port-try-file-lock\\?|port-write-handler|port-writes-atomic\\?|port-writes-special\\?|port\\?|positive\\?|prefab-key->struct-type|prefab-key\\?|prefab-struct-key|pregexp|pregexp\\?|primitive-closure\\?|primitive-result-arity|primitive\\?|print|print-as-expression|print-boolean-long-form|print-box|print-graph|print-hash-table|print-mpair-curly-braces|print-pair-curly-braces|print-reader-abbreviations|print-struct|print-syntax-width|print-unreadable|print-vector-length|printf|println|procedure->method|procedure-arity|procedure-arity-includes\\?|procedure-arity\\?|procedure-closure-contents-eq\\?|procedure-extract-target|procedure-impersonator\\*\\?|procedure-keywords|procedure-reduce-arity|procedure-reduce-keyword-arity|procedure-rename|procedure-result-arity|procedure-specialize|procedure-struct-type\\?|procedure\\?|progress-evt\\?|prop:arity-string|prop:authentic|prop:checked-procedure|prop:custom-print-quotable|prop:custom-write|prop:equal\\+hash|prop:evt|prop:exn:missing-module|prop:exn:srclocs|prop:expansion-contexts|prop:impersonator-of|prop:input-port|prop:legacy-match-expander|prop:liberal-define-context|prop:match-expander|prop:object-name|prop:output-port|prop:procedure|prop:rename-transformer|prop:sequence|prop:set!-transformer|pseudo-random-generator->vector|pseudo-random-generator-vector\\?|pseudo-random-generator\\?|putenv|quotient|quotient\\/remainder|raise|raise-argument-error|raise-arguments-error|raise-arity-error|raise-mismatch-error|raise-range-error|raise-result-error|raise-syntax-error|raise-type-error|raise-user-error|random|random-seed|rational\\?|rationalize|read|read-accept-bar-quote|read-accept-box|read-accept-compiled|read-accept-dot|read-accept-graph|read-accept-infix-dot|read-accept-lang|read-accept-quasiquote|read-accept-reader|read-byte|read-byte-or-special|read-bytes|read-bytes!|read-bytes-avail!|read-bytes-avail!\\*|read-bytes-avail!\\/enable-break|read-bytes-line|read-case-sensitive|read-cdot|read-char|read-char-or-special|read-curly-brace-as-paren|read-curly-brace-with-tag|read-decimal-as-inexact|read-eval-print-loop|read-language|read-line|read-on-demand-source|read-square-bracket-as-paren|read-square-bracket-with-tag|read-string|read-string!|read-syntax|read-syntax\\/recursive|read\\/recursive|readtable-mapping|readtable\\?|real->decimal-string|real->double-flonum|real->floating-point-bytes|real->single-flonum|real-part|real\\?|regexp|regexp-match|regexp-match-exact\\?|regexp-match-peek|regexp-match-peek-immediate|regexp-match-peek-positions|regexp-match-peek-positions-immediate|regexp-match-peek-positions-immediate\\/end|regexp-match-peek-positions\\/end|regexp-match-positions|regexp-match-positions\\/end|regexp-match\\/end|regexp-match\\?|regexp-max-lookbehind|regexp-quote|regexp-replace|regexp-replace\\*|regexp-replace-quote|regexp-replaces|regexp-split|regexp-try-match|regexp\\?|relative-path\\?|remainder|remove|remove\\*|remq|remq\\*|remv|remv\\*|rename-file-or-directory|rename-transformer-target|rename-transformer\\?|replace-evt|reroot-path|resolve-path|resolved-module-path-name|resolved-module-path\\?|reverse|round|seconds->date|security-guard\\?|semaphore-peek-evt|semaphore-peek-evt\\?|semaphore-post|semaphore-try-wait\\?|semaphore-wait|semaphore-wait\\/enable-break|semaphore\\?|sequence->stream|sequence-generate|sequence-generate\\*|sequence\\?|set!-transformer-procedure|set!-transformer\\?|set-box!|set-mcar!|set-mcdr!|set-phantom-bytes!|set-port-next-location!|shared-bytes|shell-execute|simplify-path|sin|single-flonum\\?|sleep|special-comment-value|special-comment\\?|split-path|sqrt|srcloc->string|srcloc-column|srcloc-line|srcloc-position|srcloc-source|srcloc-span|srcloc\\?|stop-after|stop-before|string|string->bytes\\/latin-1|string->bytes\\/locale|string->bytes\\/utf-8|string->immutable-string|string->keyword|string->list|string->number|string->path|string->path-element|string->symbol|string->uninterned-symbol|string->unreadable-symbol|string-append|string-ci<=\\?|string-ci<\\?|string-ci=\\?|string-ci>=\\?|string-ci>\\?|string-copy|string-copy!|string-downcase|string-environment-variable-name\\?|string-fill!|string-foldcase|string-length|string-locale-ci<\\?|string-locale-ci=\\?|string-locale-ci>\\?|string-locale-downcase|string-locale-upcase|string-locale<\\?|string-locale=\\?|string-locale>\\?|string-normalize-nfc|string-normalize-nfd|string-normalize-nfkc|string-normalize-nfkd|string-port\\?|string-ref|string-set!|string-titlecase|string-upcase|string-utf-8-length|string<=\\?|string<\\?|string=\\?|string>=\\?|string>\\?|string\\?|struct->vector|struct-accessor-procedure\\?|struct-constructor-procedure\\?|struct-info|struct-mutator-procedure\\?|struct-predicate-procedure\\?|struct-type-info|struct-type-make-constructor|struct-type-make-predicate|struct-type-property-accessor-procedure\\?|struct-type-property\\?|struct-type\\?|struct:arity-at-least|struct:date|struct:date\\*|struct:exn|struct:exn:break|struct:exn:break:hang-up|struct:exn:break:terminate|struct:exn:fail|struct:exn:fail:contract|struct:exn:fail:contract:arity|struct:exn:fail:contract:continuation|struct:exn:fail:contract:divide-by-zero|struct:exn:fail:contract:non-fixnum-result|struct:exn:fail:contract:variable|struct:exn:fail:filesystem|struct:exn:fail:filesystem:errno|struct:exn:fail:filesystem:exists|struct:exn:fail:filesystem:missing-module|struct:exn:fail:filesystem:version|struct:exn:fail:network|struct:exn:fail:network:errno|struct:exn:fail:out-of-memory|struct:exn:fail:read|struct:exn:fail:read:eof|struct:exn:fail:read:non-char|struct:exn:fail:syntax|struct:exn:fail:syntax:missing-module|struct:exn:fail:syntax:unbound|struct:exn:fail:unsupported|struct:exn:fail:user|struct:srcloc|struct\\?|sub1|subbytes|subprocess|subprocess-group-enabled|subprocess-kill|subprocess-pid|subprocess-status|subprocess-wait|subprocess\\?|substring|symbol->string|symbol-interned\\?|symbol-unreadable\\?|symbol<\\?|symbol\\?|sync|sync\\/enable-break|sync\\/timeout|sync\\/timeout\\/enable-break|syntax->datum|syntax->list|syntax-arm|syntax-column|syntax-debug-info|syntax-disarm|syntax-e|syntax-line|syntax-local-bind-syntaxes|syntax-local-certifier|syntax-local-context|syntax-local-expand-expression|syntax-local-get-shadower|syntax-local-identifier-as-binding|syntax-local-introduce|syntax-local-lift-context|syntax-local-lift-expression|syntax-local-lift-module|syntax-local-lift-module-end-declaration|syntax-local-lift-provide|syntax-local-lift-require|syntax-local-lift-values-expression|syntax-local-make-definition-context|syntax-local-make-delta-introducer|syntax-local-match-introduce|syntax-local-module-defined-identifiers|syntax-local-module-exports|syntax-local-module-required-identifiers|syntax-local-name|syntax-local-phase-level|syntax-local-submodules|syntax-local-transforming-module-provides\\?|syntax-local-value|syntax-local-value\\/immediate|syntax-original\\?|syntax-pattern-variable\\?|syntax-position|syntax-property|syntax-property-preserved\\?|syntax-property-symbol-keys|syntax-protect|syntax-rearm|syntax-recertify|syntax-shift-phase-level|syntax-source|syntax-source-module|syntax-span|syntax-taint|syntax-tainted\\?|syntax-track-origin|syntax-transforming-module-expression\\?|syntax-transforming-with-lifts\\?|syntax-transforming\\?|syntax\\?|system-big-endian\\?|system-idle-evt|system-language\\+country|system-library-subpath|system-path-convention-type|system-type|tan|terminal-port\\?|thread|thread-cell-ref|thread-cell-set!|thread-cell-values\\?|thread-cell\\?|thread-dead-evt|thread-dead\\?|thread-group\\?|thread-receive|thread-receive-evt|thread-resume|thread-resume-evt|thread-rewind-receive|thread-running\\?|thread-send|thread-suspend|thread-suspend-evt|thread-try-receive|thread-wait|thread\\/suspend-to-kill|thread\\?|time-apply|truncate|unbox|uncaught-exception-handler|unquoted-printing-string|unquoted-printing-string-value|unquoted-printing-string\\?|use-collection-link-paths|use-compiled-file-check|use-compiled-file-paths|use-user-specific-search-paths|values|variable-reference->empty-namespace|variable-reference->module-base-phase|variable-reference->module-declaration-inspector|variable-reference->module-path-index|variable-reference->module-source|variable-reference->namespace|variable-reference->phase|variable-reference->resolved-module-path|variable-reference-constant\\?|variable-reference\\?|vector|vector->immutable-vector|vector->list|vector->pseudo-random-generator|vector->pseudo-random-generator!|vector->values|vector-cas!|vector-copy!|vector-fill!|vector-immutable|vector-length|vector-ref|vector-set!|vector-set-performance-stats!|vector\\?|version|void|void\\?|weak-box-value|weak-box\\?|will-execute|will-executor\\?|will-register|will-try-execute|wrap-evt|write|write-byte|write-bytes|write-bytes-avail|write-bytes-avail\\*|write-bytes-avail-evt|write-bytes-avail\\/enable-break|write-char|write-special|write-special-avail\\*|write-special-evt|write-string|writeln|zero\\?|\\*|\\*list\\/c|\\+|-|\\/|<|<\\/c|<=|=|>|>\\/c|>=|abort-current-continuation|abs|absolute-path\\?|acos|add1|alarm-evt|always-evt|andmap|angle|append|append\\*|append-map|argmax|argmin|arithmetic-shift|arity-at-least-value|arity-at-least\\?|arity-checking-wrapper|arity-includes\\?|arity=\\?|arrow-contract-info-accepts-arglist|arrow-contract-info-chaperone-procedure|arrow-contract-info-check-first-order|arrow-contract-info\\?|asin|assf|assoc|assq|assv|atan|banner|base->-doms\\/c|base->-rngs\\/c|base->\\?|bitwise-and|bitwise-bit-field|bitwise-bit-set\\?|bitwise-ior|bitwise-not|bitwise-xor|blame-add-car-context|blame-add-cdr-context|blame-add-missing-party|blame-add-nth-arg-context|blame-add-range-context|blame-add-unknown-context|blame-context|blame-contract|blame-fmt->-string|blame-missing-party\\?|blame-negative|blame-original\\?|blame-positive|blame-replace-negative|blame-source|blame-swap|blame-swapped\\?|blame-update|blame-value|blame\\?|boolean=\\?|boolean\\?|bound-identifier=\\?|box|box-cas!|box-immutable|box\\?|break-enabled|break-parameterization\\?|break-thread|build-chaperone-contract-property|build-compound-type-name|build-contract-property|build-flat-contract-property|build-list|build-path|build-path\\/convention-type|build-string|build-vector|byte-pregexp|byte-pregexp\\?|byte-ready\\?|byte-regexp|byte-regexp\\?|byte\\?|bytes|bytes->immutable-bytes|bytes->list|bytes->path|bytes->path-element|bytes->string\\/latin-1|bytes->string\\/locale|bytes->string\\/utf-8|bytes-append|bytes-append\\*|bytes-close-converter|bytes-convert|bytes-convert-end|bytes-converter\\?|bytes-copy|bytes-copy!|bytes-environment-variable-name\\?|bytes-fill!|bytes-join|bytes-length|bytes-no-nuls\\?|bytes-open-converter|bytes-ref|bytes-set!|bytes-utf-8-index|bytes-utf-8-length|bytes-utf-8-ref|bytes<\\?|bytes=\\?|bytes>\\?|bytes\\?|caaaar|caaadr|caaar|caadar|caaddr|caadr|caar|cadaar|cadadr|cadar|caddar|cadddr|caddr|cadr|call-in-nested-thread|call-with-break-parameterization|call-with-composable-continuation|call-with-continuation-barrier|call-with-continuation-prompt|call-with-current-continuation|call-with-default-reading-parameterization|call-with-escape-continuation|call-with-exception-handler|call-with-immediate-continuation-mark|call-with-input-bytes|call-with-input-string|call-with-output-bytes|call-with-output-string|call-with-parameterization|call-with-semaphore|call-with-semaphore\\/enable-break|call-with-values|call\\/cc|call\\/ec|car|cartesian-product|cdaaar|cdaadr|cdaar|cdadar|cdaddr|cdadr|cdar|cddaar|cddadr|cddar|cdddar|cddddr|cdddr|cddr|cdr|ceiling|channel-get|channel-put|channel-put-evt|channel-put-evt\\?|channel-try-get|channel\\?|chaperone-box|chaperone-channel|chaperone-continuation-mark-key|chaperone-contract-property\\?|chaperone-contract\\?|chaperone-evt|chaperone-hash|chaperone-hash-set|chaperone-of\\?|chaperone-procedure|chaperone-procedure\\*|chaperone-prompt-tag|chaperone-struct|chaperone-struct-type|chaperone-vector|chaperone-vector\\*|chaperone\\?|char->integer|char-alphabetic\\?|char-blank\\?|char-ci<=\\?|char-ci<\\?|char-ci=\\?|char-ci>=\\?|char-ci>\\?|char-downcase|char-foldcase|char-general-category|char-graphic\\?|char-in|char-iso-control\\?|char-lower-case\\?|char-numeric\\?|char-punctuation\\?|char-ready\\?|char-symbolic\\?|char-title-case\\?|char-titlecase|char-upcase|char-upper-case\\?|char-utf-8-length|char-whitespace\\?|char<=\\?|char<\\?|char=\\?|char>=\\?|char>\\?|char\\?|check-duplicate-identifier|checked-procedure-check-and-extract|choice-evt|class->interface|class-info|class-seal|class-unseal|class\\?|cleanse-path|close-input-port|close-output-port|coerce-chaperone-contract|coerce-chaperone-contracts|coerce-contract|coerce-contract\\/f|coerce-contracts|coerce-flat-contract|coerce-flat-contracts|collect-garbage|collection-file-path|collection-path|combinations|compile|compile-allow-set!-undefined|compile-context-preservation-enabled|compile-enforce-module-constants|compile-syntax|compiled-expression-recompile|compiled-expression\\?|compiled-module-expression\\?|complete-path\\?|complex\\?|compose|compose1|conjoin|conjugate|cons|cons\\?|const|continuation-mark-key\\?|continuation-mark-set->context|continuation-mark-set->list|continuation-mark-set->list\\*|continuation-mark-set-first|continuation-mark-set\\?|continuation-marks|continuation-prompt-available\\?|continuation-prompt-tag\\?|continuation\\?|contract-continuation-mark-key|contract-custom-write-property-proc|contract-first-order|contract-first-order-passes\\?|contract-late-neg-projection|contract-name|contract-proc|contract-projection|contract-property\\?|contract-random-generate|contract-random-generate-fail|contract-random-generate-fail\\?|contract-random-generate-get-current-environment|contract-random-generate-stash|contract-random-generate\\/choose|contract-stronger\\?|contract-struct-exercise|contract-struct-generate|contract-struct-late-neg-projection|contract-struct-list-contract\\?|contract-val-first-projection|contract\\?|convert-stream|copy-file|copy-port|cos|cosh|count|current-blame-format|current-break-parameterization|current-code-inspector|current-command-line-arguments|current-compile|current-compiled-file-roots|current-continuation-marks|current-custodian|current-directory|current-directory-for-user|current-drive|current-environment-variables|current-error-port|current-eval|current-evt-pseudo-random-generator|current-force-delete-permissions|current-future|current-gc-milliseconds|current-get-interaction-input-port|current-inexact-milliseconds|current-input-port|current-inspector|current-library-collection-links|current-library-collection-paths|current-load|current-load-extension|current-load-relative-directory|current-load\\/use-compiled|current-locale|current-logger|current-memory-use|current-milliseconds|current-module-declare-name|current-module-declare-source|current-module-name-resolver|current-module-path-for-load|current-namespace|current-output-port|current-parameterization|current-plumber|current-preserved-thread-cell-values|current-print|current-process-milliseconds|current-prompt-read|current-pseudo-random-generator|current-read-interaction|current-reader-guard|current-readtable|current-seconds|current-security-guard|current-subprocess-custodian-mode|current-thread|current-thread-group|current-thread-initial-stack-size|current-write-relative-directory|curry|curryr|custodian-box-value|custodian-box\\?|custodian-limit-memory|custodian-managed-list|custodian-memory-accounting-available\\?|custodian-require-memory|custodian-shut-down\\?|custodian-shutdown-all|custodian\\?|custom-print-quotable-accessor|custom-print-quotable\\?|custom-write-accessor|custom-write-property-proc|custom-write\\?|date\\*-nanosecond|date\\*-time-zone-name|date\\*\\?|date-day|date-dst\\?|date-hour|date-minute|date-month|date-second|date-time-zone-offset|date-week-day|date-year|date-year-day|date\\?|datum->syntax|datum-intern-literal|default-continuation-prompt-tag|degrees->radians|delete-directory|delete-file|denominator|dict-iter-contract|dict-key-contract|dict-value-contract|directory-exists\\?|directory-list|disjoin|display|displayln|double-flonum\\?|drop|drop-common-prefix|drop-right|dropf|dropf-right|dump-memory-stats|dup-input-port|dup-output-port|dynamic-get-field|dynamic-object\\/c|dynamic-require|dynamic-require-for-syntax|dynamic-send|dynamic-set-field!|dynamic-wind|eighth|empty|empty-sequence|empty-stream|empty\\?|environment-variables-copy|environment-variables-names|environment-variables-ref|environment-variables-set!|environment-variables\\?|eof|eof-object\\?|ephemeron-value|ephemeron\\?|eprintf|eq-contract-val|eq-contract\\?|eq-hash-code|eq\\?|equal-contract-val|equal-contract\\?|equal-hash-code|equal-secondary-hash-code|equal<%>|equal\\?|equal\\?\\/recur|eqv-hash-code|eqv\\?|error|error-display-handler|error-escape-handler|error-print-context-length|error-print-source-location|error-print-width|error-value->string-handler|eval|eval-jit-enabled|eval-syntax|even\\?|evt\\/c|evt\\?|exact->inexact|exact-ceiling|exact-floor|exact-integer\\?|exact-nonnegative-integer\\?|exact-positive-integer\\?|exact-round|exact-truncate|exact\\?|executable-yield-handler|exit|exit-handler|exn-continuation-marks|exn-message|exn:break-continuation|exn:break:hang-up\\?|exn:break:terminate\\?|exn:break\\?|exn:fail:contract:arity\\?|exn:fail:contract:blame-object|exn:fail:contract:blame\\?|exn:fail:contract:continuation\\?|exn:fail:contract:divide-by-zero\\?|exn:fail:contract:non-fixnum-result\\?|exn:fail:contract:variable-id|exn:fail:contract:variable\\?|exn:fail:contract\\?|exn:fail:filesystem:errno-errno|exn:fail:filesystem:errno\\?|exn:fail:filesystem:exists\\?|exn:fail:filesystem:missing-module-path|exn:fail:filesystem:missing-module\\?|exn:fail:filesystem:version\\?|exn:fail:filesystem\\?|exn:fail:network:errno-errno|exn:fail:network:errno\\?|exn:fail:network\\?|exn:fail:object\\?|exn:fail:out-of-memory\\?|exn:fail:read-srclocs|exn:fail:read:eof\\?|exn:fail:read:non-char\\?|exn:fail:read\\?|exn:fail:syntax-exprs|exn:fail:syntax:missing-module-path|exn:fail:syntax:missing-module\\?|exn:fail:syntax:unbound\\?|exn:fail:syntax\\?|exn:fail:unsupported\\?|exn:fail:user\\?|exn:fail\\?|exn:misc:match\\?|exn:missing-module-accessor|exn:missing-module\\?|exn:srclocs-accessor|exn:srclocs\\?|exn\\?|exp|expand|expand-once|expand-syntax|expand-syntax-once|expand-syntax-to-top-form|expand-to-top-form|expand-user-path|explode-path|expt|externalizable<%>|failure-result\\/c|false|false\\/c|false\\?|field-names|fifth|file-exists\\?|file-name-from-path|file-or-directory-identity|file-or-directory-modify-seconds|file-or-directory-permissions|file-position|file-position\\*|file-size|file-stream-buffer-mode|file-stream-port\\?|file-truncate|filename-extension|filesystem-change-evt|filesystem-change-evt-cancel|filesystem-change-evt\\?|filesystem-root-list|filter|filter-map|filter-not|filter-read-input-port|find-executable-path|find-library-collection-links|find-library-collection-paths|find-system-path|findf|first|fixnum\\?|flat-contract|flat-contract-predicate|flat-contract-property\\?|flat-contract\\?|flat-named-contract|flatten|floating-point-bytes->real|flonum\\?|floor|flush-output|fold-files|foldl|foldr|for-each|force|format|fourth|fprintf|free-identifier=\\?|free-label-identifier=\\?|free-template-identifier=\\?|free-transformer-identifier=\\?|fsemaphore-count|fsemaphore-post|fsemaphore-try-wait\\?|fsemaphore-wait|fsemaphore\\?|future|future\\?|futures-enabled\\?|gcd|generate-member-key|generate-temporaries|generic-set\\?|generic\\?|gensym|get-output-bytes|get-output-string|get\\/build-late-neg-projection|get\\/build-val-first-projection|getenv|global-port-print-handler|group-by|group-execute-bit|group-read-bit|group-write-bit|guard-evt|handle-evt|handle-evt\\?|has-blame\\?|has-contract\\?|hash|hash->list|hash-clear|hash-clear!|hash-copy|hash-copy-clear|hash-count|hash-empty\\?|hash-eq\\?|hash-equal\\?|hash-eqv\\?|hash-for-each|hash-has-key\\?|hash-iterate-first|hash-iterate-key|hash-iterate-key\\+value|hash-iterate-next|hash-iterate-pair|hash-iterate-value|hash-keys|hash-keys-subset\\?|hash-map|hash-placeholder\\?|hash-ref|hash-ref!|hash-remove|hash-remove!|hash-set|hash-set!|hash-set\\*|hash-set\\*!|hash-update|hash-update!|hash-values|hash-weak\\?|hash\\?|hasheq|hasheqv|identifier-binding|identifier-binding-symbol|identifier-label-binding|identifier-prune-lexical-context|identifier-prune-to-source-module|identifier-remove-from-definition-context|identifier-template-binding|identifier-transformer-binding|identifier\\?|identity|if\\/c|imag-part|immutable\\?|impersonate-box|impersonate-channel|impersonate-continuation-mark-key|impersonate-hash|impersonate-hash-set|impersonate-procedure|impersonate-procedure\\*|impersonate-prompt-tag|impersonate-struct|impersonate-vector|impersonate-vector\\*|impersonator-contract\\?|impersonator-ephemeron|impersonator-of\\?|impersonator-prop:application-mark|impersonator-prop:blame|impersonator-prop:contracted|impersonator-property-accessor-procedure\\?|impersonator-property\\?|impersonator\\?|implementation\\?|implementation\\?\\/c|in-combinations|in-cycle|in-dict-pairs|in-parallel|in-permutations|in-sequences|in-values\\*-sequence|in-values-sequence|index-of|index-where|indexes-of|indexes-where|inexact->exact|inexact-real\\?|inexact\\?|infinite\\?|input-port-append|input-port\\?|inspector-superior\\?|inspector\\?|instanceof\\/c|integer->char|integer->integer-bytes|integer-bytes->integer|integer-length|integer-sqrt|integer-sqrt\\/remainder|integer\\?|interface->method-names|interface-extension\\?|interface\\?|internal-definition-context-binding-identifiers|internal-definition-context-introduce|internal-definition-context-seal|internal-definition-context\\?|is-a\\?|is-a\\?\\/c|keyword->string|keyword-apply|keyword<\\?|keyword\\?|keywords-match|kill-thread|last|last-pair|lcm|length|liberal-define-context\\?|link-exists\\?|list|list\\*|list->bytes|list->mutable-set|list->mutable-seteq|list->mutable-seteqv|list->set|list->seteq|list->seteqv|list->string|list->vector|list->weak-set|list->weak-seteq|list->weak-seteqv|list-contract\\?|list-prefix\\?|list-ref|list-set|list-tail|list-update|list\\?|listen-port-number\\?|load|load-extension|load-on-demand-enabled|load-relative|load-relative-extension|load\\/cd|load\\/use-compiled|local-expand|local-expand\\/capture-lifts|local-transformer-expand|local-transformer-expand\\/capture-lifts|locale-string-encoding|log|log-all-levels|log-level-evt|log-level\\?|log-max-level|log-message|log-receiver\\?|logger-name|logger\\?|magnitude|make-arity-at-least|make-base-empty-namespace|make-base-namespace|make-bytes|make-channel|make-chaperone-contract|make-continuation-mark-key|make-continuation-prompt-tag|make-contract|make-custodian|make-custodian-box|make-date|make-date\\*|make-derived-parameter|make-directory|make-directory\\*|make-do-sequence|make-empty-namespace|make-environment-variables|make-ephemeron|make-exn|make-exn:break|make-exn:break:hang-up|make-exn:break:terminate|make-exn:fail|make-exn:fail:contract|make-exn:fail:contract:arity|make-exn:fail:contract:blame|make-exn:fail:contract:continuation|make-exn:fail:contract:divide-by-zero|make-exn:fail:contract:non-fixnum-result|make-exn:fail:contract:variable|make-exn:fail:filesystem|make-exn:fail:filesystem:errno|make-exn:fail:filesystem:exists|make-exn:fail:filesystem:missing-module|make-exn:fail:filesystem:version|make-exn:fail:network|make-exn:fail:network:errno|make-exn:fail:object|make-exn:fail:out-of-memory|make-exn:fail:read|make-exn:fail:read:eof|make-exn:fail:read:non-char|make-exn:fail:syntax|make-exn:fail:syntax:missing-module|make-exn:fail:syntax:unbound|make-exn:fail:unsupported|make-exn:fail:user|make-file-or-directory-link|make-flat-contract|make-fsemaphore|make-generic|make-hash|make-hash-placeholder|make-hasheq|make-hasheq-placeholder|make-hasheqv|make-hasheqv-placeholder|make-immutable-hash|make-immutable-hasheq|make-immutable-hasheqv|make-impersonator-property|make-input-port|make-input-port\\/read-to-peek|make-inspector|make-keyword-procedure|make-known-char-range-list|make-limited-input-port|make-list|make-lock-file-name|make-log-receiver|make-logger|make-mixin-contract|make-none\\/c|make-output-port|make-parameter|make-parent-directory\\*|make-phantom-bytes|make-pipe|make-pipe-with-specials|make-placeholder|make-plumber|make-polar|make-prefab-struct|make-primitive-class|make-proj-contract|make-pseudo-random-generator|make-reader-graph|make-readtable|make-rectangular|make-rename-transformer|make-resolved-module-path|make-security-guard|make-semaphore|make-set!-transformer|make-shared-bytes|make-sibling-inspector|make-special-comment|make-srcloc|make-string|make-struct-field-accessor|make-struct-field-mutator|make-struct-type|make-struct-type-property|make-syntax-delta-introducer|make-syntax-introducer|make-tentative-pretty-print-output-port|make-thread-cell|make-thread-group|make-vector|make-weak-box|make-weak-hash|make-weak-hasheq|make-weak-hasheqv|make-will-executor|map|match-equality-test|matches-arity-exactly\\?|max|mcar|mcdr|mcons|member|member-name-key-hash-code|member-name-key=\\?|member-name-key\\?|memf|memq|memv|merge-input|method-in-interface\\?|min|mixin-contract|module->exports|module->imports|module->indirect-exports|module->language-info|module->namespace|module-compiled-cross-phase-persistent\\?|module-compiled-exports|module-compiled-imports|module-compiled-indirect-exports|module-compiled-language-info|module-compiled-name|module-compiled-submodules|module-declared\\?|module-path-index-join|module-path-index-resolve|module-path-index-split|module-path-index-submodule|module-path-index\\?|module-path\\?|module-predefined\\?|module-provide-protected\\?|modulo|mpair\\?|mutable-set|mutable-seteq|mutable-seteqv|n->th|nack-guard-evt|namespace-anchor->empty-namespace|namespace-anchor->namespace|namespace-anchor\\?|namespace-attach-module|namespace-attach-module-declaration|namespace-base-phase|namespace-mapped-symbols|namespace-module-identifier|namespace-module-registry|namespace-require|namespace-require\\/constant|namespace-require\\/copy|namespace-require\\/expansion-time|namespace-set-variable-value!|namespace-symbol->identifier|namespace-syntax-introduce|namespace-undefine-variable!|namespace-unprotect-module|namespace-variable-value|namespace\\?|nan\\?|natural-number\\/c|natural\\?|negate|negative-integer\\?|negative\\?|never-evt|newline|ninth|non-empty-string\\?|nonnegative-integer\\?|nonpositive-integer\\?|normal-case-path|normalize-arity|normalize-path|normalized-arity\\?|not|null|null\\?|number->string|number\\?|numerator|object%|object->vector|object-info|object-interface|object-method-arity-includes\\?|object-name|object-or-false=\\?|object=\\?|object\\?|odd\\?|open-input-bytes|open-input-string|open-output-bytes|open-output-nowhere|open-output-string|order-of-magnitude|ormap|other-execute-bit|other-read-bit|other-write-bit|output-port\\?|pair\\?|parameter-procedure=\\?|parameter\\?|parameterization\\?|parse-command-line|partition|path->bytes|path->complete-path|path->directory-path|path->string|path-add-extension|path-add-suffix|path-convention-type|path-element->bytes|path-element->string|path-element\\?|path-for-some-system\\?|path-get-extension|path-has-extension\\?|path-list-string->path-list|path-only|path-replace-extension|path-replace-suffix|path-string\\?|path<\\?|path\\?|peek-byte|peek-byte-or-special|peek-bytes|peek-bytes!|peek-bytes-avail!|peek-bytes-avail!\\*|peek-bytes-avail!\\/enable-break|peek-char|peek-char-or-special|peek-string|peek-string!|permutations|phantom-bytes\\?|pi|pi\\.f|pipe-content-length|place-break|place-channel|place-channel-get|place-channel-put|place-channel-put\\/get|place-channel\\?|place-dead-evt|place-enabled\\?|place-kill|place-location\\?|place-message-allowed\\?|place-sleep|place-wait|place\\?|placeholder-get|placeholder-set!|placeholder\\?|plumber-add-flush!|plumber-flush-all|plumber-flush-handle-remove!|plumber-flush-handle\\?|plumber\\?|poll-guard-evt|port->list|port-closed-evt|port-closed\\?|port-commit-peeked|port-count-lines!|port-count-lines-enabled|port-counts-lines\\?|port-display-handler|port-file-identity|port-file-unlock|port-next-location|port-number\\?|port-print-handler|port-progress-evt|port-provides-progress-evts\\?|port-read-handler|port-try-file-lock\\?|port-write-handler|port-writes-atomic\\?|port-writes-special\\?|port\\?|positive-integer\\?|positive\\?|predicate\\/c|prefab-key->struct-type|prefab-key\\?|prefab-struct-key|preferences-lock-file-mode|pregexp|pregexp\\?|pretty-display|pretty-print|pretty-print-\\.-symbol-without-bars|pretty-print-abbreviate-read-macros|pretty-print-columns|pretty-print-current-style-table|pretty-print-depth|pretty-print-exact-as-decimal|pretty-print-extend-style-table|pretty-print-handler|pretty-print-newline|pretty-print-post-print-hook|pretty-print-pre-print-hook|pretty-print-print-hook|pretty-print-print-line|pretty-print-remap-stylable|pretty-print-show-inexactness|pretty-print-size-hook|pretty-print-style-table\\?|pretty-printing|pretty-write|primitive-closure\\?|primitive-result-arity|primitive\\?|print|print-as-expression|print-boolean-long-form|print-box|print-graph|print-hash-table|print-mpair-curly-braces|print-pair-curly-braces|print-reader-abbreviations|print-struct|print-syntax-width|print-unreadable|print-vector-length|printable\\/c|printable<%>|printf|println|procedure->method|procedure-arity|procedure-arity-includes\\?|procedure-arity\\?|procedure-closure-contents-eq\\?|procedure-extract-target|procedure-impersonator\\*\\?|procedure-keywords|procedure-reduce-arity|procedure-reduce-keyword-arity|procedure-rename|procedure-result-arity|procedure-specialize|procedure-struct-type\\?|procedure\\?|processor-count|progress-evt\\?|promise-forced\\?|promise-running\\?|promise\\/name\\?|promise\\?|prop:arity-string|prop:arrow-contract|prop:arrow-contract-get-info|prop:arrow-contract\\?|prop:authentic|prop:blame|prop:chaperone-contract|prop:checked-procedure|prop:contract|prop:contracted|prop:custom-print-quotable|prop:custom-write|prop:dict|prop:equal\\+hash|prop:evt|prop:exn:missing-module|prop:exn:srclocs|prop:expansion-contexts|prop:flat-contract|prop:impersonator-of|prop:input-port|prop:liberal-define-context|prop:object-name|prop:opt-chaperone-contract|prop:opt-chaperone-contract-get-test|prop:opt-chaperone-contract\\?|prop:orc-contract|prop:orc-contract-get-subcontracts|prop:orc-contract\\?|prop:output-port|prop:place-location|prop:procedure|prop:recursive-contract|prop:recursive-contract-unroll|prop:recursive-contract\\?|prop:rename-transformer|prop:sequence|prop:set!-transformer|prop:stream|proper-subset\\?|pseudo-random-generator->vector|pseudo-random-generator-vector\\?|pseudo-random-generator\\?|put-preferences|putenv|quotient|quotient\\/remainder|radians->degrees|raise|raise-argument-error|raise-arguments-error|raise-arity-error|raise-contract-error|raise-mismatch-error|raise-range-error|raise-result-error|raise-syntax-error|raise-type-error|raise-user-error|random|random-seed|rational\\?|rationalize|read|read-accept-bar-quote|read-accept-box|read-accept-compiled|read-accept-dot|read-accept-graph|read-accept-infix-dot|read-accept-lang|read-accept-quasiquote|read-accept-reader|read-byte|read-byte-or-special|read-bytes|read-bytes!|read-bytes-avail!|read-bytes-avail!\\*|read-bytes-avail!\\/enable-break|read-bytes-line|read-case-sensitive|read-cdot|read-char|read-char-or-special|read-curly-brace-as-paren|read-curly-brace-with-tag|read-decimal-as-inexact|read-eval-print-loop|read-language|read-line|read-on-demand-source|read-square-bracket-as-paren|read-square-bracket-with-tag|read-string|read-string!|read-syntax|read-syntax\\/recursive|read\\/recursive|readtable-mapping|readtable\\?|real->decimal-string|real->double-flonum|real->floating-point-bytes|real->single-flonum|real-part|real\\?|reencode-input-port|reencode-output-port|regexp|regexp-match|regexp-match-exact\\?|regexp-match-peek|regexp-match-peek-immediate|regexp-match-peek-positions|regexp-match-peek-positions-immediate|regexp-match-peek-positions-immediate\\/end|regexp-match-peek-positions\\/end|regexp-match-positions|regexp-match-positions\\/end|regexp-match\\/end|regexp-match\\?|regexp-max-lookbehind|regexp-quote|regexp-replace|regexp-replace\\*|regexp-replace-quote|regexp-replaces|regexp-split|regexp-try-match|regexp\\?|relative-path\\?|remainder|remf|remf\\*|remove|remove\\*|remq|remq\\*|remv|remv\\*|rename-contract|rename-file-or-directory|rename-transformer-target|rename-transformer\\?|replace-evt|reroot-path|resolve-path|resolved-module-path-name|resolved-module-path\\?|rest|reverse|round|second|seconds->date|security-guard\\?|semaphore-peek-evt|semaphore-peek-evt\\?|semaphore-post|semaphore-try-wait\\?|semaphore-wait|semaphore-wait\\/enable-break|semaphore\\?|sequence->list|sequence->stream|sequence-add-between|sequence-andmap|sequence-append|sequence-count|sequence-filter|sequence-fold|sequence-for-each|sequence-generate|sequence-generate\\*|sequence-length|sequence-map|sequence-ormap|sequence-ref|sequence-tail|sequence\\?|set|set!-transformer-procedure|set!-transformer\\?|set->list|set->stream|set-add|set-add!|set-box!|set-clear|set-clear!|set-copy|set-copy-clear|set-count|set-empty\\?|set-eq\\?|set-equal\\?|set-eqv\\?|set-first|set-for-each|set-implements\\/c|set-implements\\?|set-intersect|set-intersect!|set-map|set-mcar!|set-mcdr!|set-member\\?|set-mutable\\?|set-phantom-bytes!|set-port-next-location!|set-remove|set-remove!|set-rest|set-subtract|set-subtract!|set-symmetric-difference|set-symmetric-difference!|set-union|set-union!|set-weak\\?|set=\\?|set\\?|seteq|seteqv|seventh|sgn|shared-bytes|shell-execute|shrink-path-wrt|shuffle|simple-form-path|simplify-path|sin|single-flonum\\?|sinh|sixth|skip-projection-wrapper\\?|sleep|some-system-path->string|special-comment-value|special-comment\\?|special-filter-input-port|split-at|split-at-right|split-common-prefix|split-path|splitf-at|splitf-at-right|sqr|sqrt|srcloc->string|srcloc-column|srcloc-line|srcloc-position|srcloc-source|srcloc-span|srcloc\\?|stop-after|stop-before|stream->list|stream-add-between|stream-andmap|stream-append|stream-count|stream-empty\\?|stream-filter|stream-first|stream-fold|stream-for-each|stream-length|stream-map|stream-ormap|stream-ref|stream-rest|stream-tail|stream\\/c|stream\\?|string|string->bytes\\/latin-1|string->bytes\\/locale|string->bytes\\/utf-8|string->immutable-string|string->keyword|string->list|string->number|string->path|string->path-element|string->some-system-path|string->symbol|string->uninterned-symbol|string->unreadable-symbol|string-append|string-append\\*|string-ci<=\\?|string-ci<\\?|string-ci=\\?|string-ci>=\\?|string-ci>\\?|string-contains\\?|string-copy|string-copy!|string-downcase|string-environment-variable-name\\?|string-fill!|string-foldcase|string-length|string-locale-ci<\\?|string-locale-ci=\\?|string-locale-ci>\\?|string-locale-downcase|string-locale-upcase|string-locale<\\?|string-locale=\\?|string-locale>\\?|string-no-nuls\\?|string-normalize-nfc|string-normalize-nfd|string-normalize-nfkc|string-normalize-nfkd|string-port\\?|string-prefix\\?|string-ref|string-set!|string-suffix\\?|string-titlecase|string-upcase|string-utf-8-length|string<=\\?|string<\\?|string=\\?|string>=\\?|string>\\?|string\\?|struct->vector|struct-accessor-procedure\\?|struct-constructor-procedure\\?|struct-info|struct-mutator-procedure\\?|struct-predicate-procedure\\?|struct-type-info|struct-type-make-constructor|struct-type-make-predicate|struct-type-property-accessor-procedure\\?|struct-type-property\\/c|struct-type-property\\?|struct-type\\?|struct:arity-at-least|struct:arrow-contract-info|struct:date|struct:date\\*|struct:exn|struct:exn:break|struct:exn:break:hang-up|struct:exn:break:terminate|struct:exn:fail|struct:exn:fail:contract|struct:exn:fail:contract:arity|struct:exn:fail:contract:blame|struct:exn:fail:contract:continuation|struct:exn:fail:contract:divide-by-zero|struct:exn:fail:contract:non-fixnum-result|struct:exn:fail:contract:variable|struct:exn:fail:filesystem|struct:exn:fail:filesystem:errno|struct:exn:fail:filesystem:exists|struct:exn:fail:filesystem:missing-module|struct:exn:fail:filesystem:version|struct:exn:fail:network|struct:exn:fail:network:errno|struct:exn:fail:object|struct:exn:fail:out-of-memory|struct:exn:fail:read|struct:exn:fail:read:eof|struct:exn:fail:read:non-char|struct:exn:fail:syntax|struct:exn:fail:syntax:missing-module|struct:exn:fail:syntax:unbound|struct:exn:fail:unsupported|struct:exn:fail:user|struct:srcloc|struct:wrapped-extra-arg-arrow|struct\\?|sub1|subbytes|subclass\\?|subclass\\?\\/c|subprocess|subprocess-group-enabled|subprocess-kill|subprocess-pid|subprocess-status|subprocess-wait|subprocess\\?|subset\\?|substring|suggest\\/c|symbol->string|symbol-interned\\?|symbol-unreadable\\?|symbol<\\?|symbol=\\?|symbol\\?|sync|sync\\/enable-break|sync\\/timeout|sync\\/timeout\\/enable-break|syntax->datum|syntax->list|syntax-arm|syntax-column|syntax-debug-info|syntax-disarm|syntax-e|syntax-line|syntax-local-bind-syntaxes|syntax-local-certifier|syntax-local-context|syntax-local-expand-expression|syntax-local-get-shadower|syntax-local-identifier-as-binding|syntax-local-introduce|syntax-local-lift-context|syntax-local-lift-expression|syntax-local-lift-module|syntax-local-lift-module-end-declaration|syntax-local-lift-provide|syntax-local-lift-require|syntax-local-lift-values-expression|syntax-local-make-definition-context|syntax-local-make-delta-introducer|syntax-local-module-defined-identifiers|syntax-local-module-exports|syntax-local-module-required-identifiers|syntax-local-name|syntax-local-phase-level|syntax-local-submodules|syntax-local-transforming-module-provides\\?|syntax-local-value|syntax-local-value\\/immediate|syntax-original\\?|syntax-position|syntax-property|syntax-property-preserved\\?|syntax-property-symbol-keys|syntax-protect|syntax-rearm|syntax-recertify|syntax-shift-phase-level|syntax-source|syntax-source-module|syntax-span|syntax-taint|syntax-tainted\\?|syntax-track-origin|syntax-transforming-module-expression\\?|syntax-transforming-with-lifts\\?|syntax-transforming\\?|syntax\\?|system-big-endian\\?|system-idle-evt|system-language\\+country|system-library-subpath|system-path-convention-type|system-type|tail-marks-match\\?|take|take-common-prefix|take-right|takef|takef-right|tan|tanh|tcp-abandon-port|tcp-accept|tcp-accept-evt|tcp-accept-ready\\?|tcp-accept\\/enable-break|tcp-addresses|tcp-close|tcp-connect|tcp-connect\\/enable-break|tcp-listen|tcp-listener\\?|tcp-port\\?|tentative-pretty-print-port-cancel|tentative-pretty-print-port-transfer|tenth|terminal-port\\?|the-unsupplied-arg|third|thread|thread-cell-ref|thread-cell-set!|thread-cell-values\\?|thread-cell\\?|thread-dead-evt|thread-dead\\?|thread-group\\?|thread-receive|thread-receive-evt|thread-resume|thread-resume-evt|thread-rewind-receive|thread-running\\?|thread-send|thread-suspend|thread-suspend-evt|thread-try-receive|thread-wait|thread\\/suspend-to-kill|thread\\?|time-apply|touch|true|truncate|udp-addresses|udp-bind!|udp-bound\\?|udp-close|udp-connect!|udp-connected\\?|udp-multicast-interface|udp-multicast-join-group!|udp-multicast-leave-group!|udp-multicast-loopback\\?|udp-multicast-set-interface!|udp-multicast-set-loopback!|udp-multicast-set-ttl!|udp-multicast-ttl|udp-open-socket|udp-receive!|udp-receive!\\*|udp-receive!-evt|udp-receive!\\/enable-break|udp-receive-ready-evt|udp-send|udp-send\\*|udp-send-evt|udp-send-ready-evt|udp-send-to|udp-send-to\\*|udp-send-to-evt|udp-send-to\\/enable-break|udp-send\\/enable-break|udp\\?|unbox|uncaught-exception-handler|unit\\?|unquoted-printing-string|unquoted-printing-string-value|unquoted-printing-string\\?|unspecified-dom|unsupplied-arg\\?|use-collection-link-paths|use-compiled-file-check|use-compiled-file-paths|use-user-specific-search-paths|user-execute-bit|user-read-bit|user-write-bit|value-blame|value-contract|values|variable-reference->empty-namespace|variable-reference->module-base-phase|variable-reference->module-declaration-inspector|variable-reference->module-path-index|variable-reference->module-source|variable-reference->namespace|variable-reference->phase|variable-reference->resolved-module-path|variable-reference-constant\\?|variable-reference\\?|vector|vector->immutable-vector|vector->list|vector->pseudo-random-generator|vector->pseudo-random-generator!|vector->values|vector-append|vector-argmax|vector-argmin|vector-cas!|vector-copy|vector-copy!|vector-count|vector-drop|vector-drop-right|vector-fill!|vector-filter|vector-filter-not|vector-immutable|vector-length|vector-map|vector-map!|vector-member|vector-memq|vector-memv|vector-ref|vector-set!|vector-set\\*!|vector-set-performance-stats!|vector-split-at|vector-split-at-right|vector-take|vector-take-right|vector\\?|version|void|void\\?|weak-box-value|weak-box\\?|weak-set|weak-seteq|weak-seteqv|will-execute|will-executor\\?|will-register|will-try-execute|with-input-from-bytes|with-input-from-string|with-output-to-bytes|with-output-to-string|would-be-future|wrap-evt|wrapped-extra-arg-arrow-extra-neg-party-argument|wrapped-extra-arg-arrow-real-func|wrapped-extra-arg-arrow\\?|writable<%>|write|write-byte|write-bytes|write-bytes-avail|write-bytes-avail\\*|write-bytes-avail-evt|write-bytes-avail\\/enable-break|write-char|write-special|write-special-avail\\*|write-special-evt|write-string|writeln|xor|zero\\?)(?=$|[()\\[\\]{}\",'`;\\s])" } ] }, @@ -282,7 +279,7 @@ "character": { "patterns": [ { - "match": "(?x) \\#\\\\\n (?:\n (?: [0-7]{3}) |\n (?: u[0-9a-fA-F]{1,4}) |\n (?: U[0-9a-fA-F]{1,6}) |\n (?:\n (?:\n null? | newline | linefeed | backspace | v?tab | page |\n return | space | rubout | (?: [^\\w\\s] | \\d)\n )\n (?![a-zA-Z])\n ) |\n (?: [^\\W\\d](?=[\\W\\d]) | \\W )\n )\n", + "match": "\\#\\\\(?:(?:[0-7]{3})|(?:u[0-9a-fA-F]{1,4})|(?:U[0-9a-fA-F]{1,6})|(?:(?:null?|newline|linefeed|backspace|v?tab|page|return|space|rubout|(?:[^\\w\\s]|\\d))(?![a-zA-Z]))|(?:[^\\W\\d](?=[\\W\\d])|\\W))", "name": "string.quoted.single.racket" } ] @@ -341,7 +338,7 @@ "name": "punctuation.definition.comment.racket" } }, - "match": "(?x) (?<=^|[()\\[\\]{}\",'`;\\s]) (;) .* $", + "match": "(?<=^|[()\\[\\]{}\",'`;\\s])(;).*$", "name": "comment.line.semicolon.racket" } ] @@ -518,7 +515,7 @@ "define-func": { "patterns": [ { - "begin": "(?x) (?<=[(\\[{]) \\s*\n(define (?: (?: -for)?-syntax)?) \\s*\n(\\()\n", + "begin": "(?<=[(\\[{])\\s*(define(?:(?:-for)?-syntax)?)\\s*(\\()", "beginCaptures": { "1": { "name": "storage.type.lambda.racket" @@ -540,7 +537,7 @@ ] }, { - "begin": "(?x) (?<=[(\\[{]) \\s*\n(define (?: (?: -for)?-syntax)?) \\s*\n(\\[)\n", + "begin": "(?<=[(\\[{])\\s*(define(?:(?:-for)?-syntax)?)\\s*(\\[)", "beginCaptures": { "1": { "name": "storage.type.lambda.racket" @@ -562,7 +559,7 @@ ] }, { - "begin": "(?x) (?<=[(\\[{]) \\s*\n(define (?: (?: -for)?-syntax)?) \\s*\n({)\n", + "begin": "(?<=[(\\[{])\\s*(define(?:(?:-for)?-syntax)?)\\s*({)", "beginCaptures": { "1": { "name": "storage.type.lambda.racket" @@ -596,14 +593,14 @@ "name": "entity.name.constant.racket" } }, - "match": "(?x) (?<=[(\\[{]) \\s*\n(define(?: (?: -for)?-syntax)?) \\s+\n([^(\\#)\\[\\]{}\",'`;\\s][^()\\[\\]{}\",'`;\\s]*)\n" + "match": "(?<=[(\\[{])\\s*(define(?:(?:-for)?-syntax)?)\\s+([^(\\#)\\[\\]{}\",'`;\\s][^()\\[\\]{}\",'`;\\s]*)" } ] }, "define-vals": { "patterns": [ { - "begin": "(?x) (?<=[(\\[{]) \\s*\n(define-(?: values(?: -for-syntax)? | syntaxes)?) \\s*\n(\\()\n", + "begin": "(?<=[(\\[{])\\s*(define-(?:values(?:-for-syntax)?|syntaxes)?)\\s*(\\()", "beginCaptures": { "1": { "name": "storage.type.racket" @@ -626,7 +623,7 @@ ] }, { - "begin": "(?x) (?<=[(\\[{]) \\s*\n(define-(?: values(?: -for-syntax)? | syntaxes)?) \\s*\n(\\[)\n", + "begin": "(?<=[(\\[{])\\s*(define-(?:values(?:-for-syntax)?|syntaxes)?)\\s*(\\[)", "beginCaptures": { "1": { "name": "storage.type.racket" @@ -649,7 +646,7 @@ ] }, { - "begin": "(?x) (?<=[(\\[{]) \\s*\n(define-(?: values(?: -for-syntax)? | syntaxes)?) \\s*\n({)\n", + "begin": "(?<=[(\\[{])\\s*(define-(?:values(?:-for-syntax)?|syntaxes)?)\\s*({)", "beginCaptures": { "1": { "name": "storage.type.racket" @@ -676,7 +673,7 @@ "dot": { "patterns": [ { - "match": "(?x) (?<=^|[()\\[\\]{}\",'`;\\s]) \\. (?=$|[()\\[\\]{}\",'`;\\s])", + "match": "(?<=^|[()\\[\\]{}\",'`;\\s])\\.(?=$|[()\\[\\]{}\",'`;\\s])", "name": "punctuation.accessor.racket" } ] @@ -687,7 +684,7 @@ "include": "#escape-char-base" }, { - "match": "(?x) \\\\\n (?:\n (?: u[\\da-fA-F]{1,4}) |\n (?: U[\\da-fA-F]{1,8})\n )\n", + "match": "\\\\(?:(?:u[\\da-fA-F]{1,4})|(?:U[\\da-fA-F]{1,8}))", "name": "constant.character.escape.racket" }, { @@ -698,7 +695,7 @@ "escape-char-base": { "patterns": [ { - "match": "(?x) \\\\\n (?:\n (?: [abtnvfre\"'\\\\]) |\n (?: [0-7]{1,3}) |\n (?: x[\\da-fA-F]{1,2})\n )\n", + "match": "\\\\(?:(?:[abtnvfre\"'\\\\])|(?:[0-7]{1,3})|(?:x[\\da-fA-F]{1,2}))", "name": "constant.character.escape.racket" } ] @@ -714,7 +711,7 @@ "format": { "patterns": [ { - "begin": "(?x) (?<=[(\\[{]) \\s*\n(e?printf | format) \\s*\n(\")\n", + "begin": "(?<=[(\\[{])\\s*(e?printf|format)\\s*(\")", "beginCaptures": { "1": { "name": "support.function.racket" @@ -744,7 +741,7 @@ "format-string": { "patterns": [ { - "match": "(?x) ~\n(?:\n (?: \\.?[n%aAsSvV]) |\n [cCbBoOxX~\\s]\n)\n", + "match": "~(?:(?:\\.?[n%aAsSvV])|[cCbBoOxX~\\s])", "name": "constant.other.placeholder.racket" } ] @@ -768,7 +765,7 @@ "function-name": { "patterns": [ { - "begin": "(?x) (?<=[(\\[{]) \\s* (\\|)", + "begin": "(?<=[(\\[{])\\s*(\\|)", "beginCaptures": { "1": { "name": "punctuation.verbatim.begin.racket" @@ -782,7 +779,7 @@ "name": "entity.name.function.racket" }, { - "begin": "(?x) (?<=[(\\[{]) \\s*\n (\\#% | \\\\\\ | [^\\#()\\[\\]{}\",'`;\\s])\n", + "begin": "(?<=[(\\[{])\\s*(\\#%|\\\\\\ |[^\\#()\\[\\]{}\",'`;\\s])", "beginCaptures": { "1": { "name": "entity.name.function.racket" @@ -811,7 +808,7 @@ "hash": { "patterns": [ { - "begin": "(?x) \\# hash(?: eq(?: v)?)? \\(", + "begin": "\\#hash(?:eq(?:v)?)?\\(", "beginCaptures": { "0": { "name": "punctuation.section.hash.begin.racket" @@ -831,7 +828,7 @@ ] }, { - "begin": "(?x) \\# hash(?: eq(?: v)?)? \\[", + "begin": "\\#hash(?:eq(?:v)?)?\\[", "beginCaptures": { "0": { "name": "punctuation.section.hash.begin.racket" @@ -851,7 +848,7 @@ ] }, { - "begin": "(?x) \\# hash(?: eq(?: v)?)? \\{", + "begin": "\\#hash(?:eq(?:v)?)?\\{", "beginCaptures": { "0": { "name": "punctuation.section.hash.begin.racket" @@ -894,7 +891,7 @@ "keyword": { "patterns": [ { - "match": "(?x) (?<=^|[()\\[\\]{}\",'`;\\s]) \\#: [^()\\[\\]{}\",'`;\\s]+\n", + "match": "(?<=^|[()\\[\\]{}\",'`;\\s])\\#:[^()\\[\\]{}\",'`;\\s]+", "name": "keyword.other.racket" } ] @@ -912,7 +909,7 @@ "lambda-args": { "patterns": [ { - "begin": "(?x) (?<=[(\\[{]) \\s*\n(lambda | λ) \\s+\n(\\()\n", + "begin": "(?<=[(\\[{])\\s*(lambda|λ)\\s+(\\()", "beginCaptures": { "1": { "name": "storage.type.lambda.racket" @@ -935,7 +932,7 @@ ] }, { - "begin": "(?x) (?<=[(\\[{]) \\s*\n(lambda | λ) \\s+\n({)\n", + "begin": "(?<=[(\\[{])\\s*(lambda|λ)\\s+({)", "beginCaptures": { "1": { "name": "storage.type.lambda.racket" @@ -958,7 +955,7 @@ ] }, { - "begin": "(?x) (?<=[(\\[{]) \\s*\n(lambda | λ) \\s+\n(\\[)\n", + "begin": "(?<=[(\\[{])\\s*(lambda|λ)\\s+(\\[)", "beginCaptures": { "1": { "name": "storage.type.lambda.racket" @@ -1088,11 +1085,11 @@ "include": "#list" }, { - "match": "(?x) (?<=^|[()\\[\\]{}\\\",'`;\\s])\n (?: \\#[cC][iI] | \\#[cC][sS])\n(?=\\s)\n", + "match": "(?<=^|[()\\[\\]{}\\\",'`;\\s])(?:\\#[cC][iI]|\\#[cC][sS])(?=\\s)", "name": "keyword.control.racket" }, { - "match": "(?x) (?<=^|[()\\[\\]{}\\\",'`;\\s])\n (?: \\#&)\n", + "match": "(?<=^|[()\\[\\]{}\\\",'`;\\s])(?:\\#&)", "name": "support.function.racket" } ] @@ -1116,7 +1113,7 @@ "number-bin": { "patterns": [ { - "match": "(?x)\n (?<=^|[()\\[\\]{}\",'`;\\s])\n (?: \\#[bB](?: \\#[eEiI])? | (?: \\#[eEiI])?\\#[bB])\n (?:\n (?:\n (?:\n (?:\n (?:\n (?: [+-]? [01]+ \\#* \\/ [01]+ \\#*)|\n (?: [+-]? [01]+ \\. [01]+ \\#*) |\n (?: [+-]? [01]+ \\#* \\. \\#*) |\n (?: [+-]? [01]+ \\#*)\n ) (?: [sldefSLDEF] [+-]? [01]+)?\n ) |\n [+-] (?: (?: [iI][nN][fF])\\.[0f] | (?: [nN][aA][nN])\\.[0f])\n ) @\n (?:\n (?:\n (?:\n (?: [+-]? [01]+ \\#* \\/ [01]+ \\#*)|\n (?: [+-]? [01]+ \\. [01]+ \\#*) |\n (?: [+-]? [01]+ \\#* \\. \\#*) |\n (?: [+-]? [01]+ \\#*)\n ) (?: [sldefSLDEF] [+-]? [01]+)?\n ) |\n (?: (?: [iI][nN][fF])\\.[0f] | (?: [nN][aA][nN])\\.[0f])\n )\n ) |\n (?:\n (?:\n (?:\n (?:\n (?: [+-]? [01]+ \\#* \\/ [01]+ \\#*)|\n (?: [+-]? [01]+ \\. [01]+ \\#*) |\n (?: [+-]? [01]+ \\#* \\. \\#*) |\n (?: [+-]? [01]+ \\#*)\n ) (?: [sldefSLDEF] [+-]? [01]+)?\n ) |\n [+-] (?: (?: [iI][nN][fF])\\.[0f] | (?: [nN][aA][nN])\\.[0f])\n )? [+-]\n (?:\n (?:\n (?:\n (?: [+-]? [01]+ \\#* \\/ [01]+ \\#*)|\n (?: [+-]? [01]+ \\. [01]+ \\#*) |\n (?: [+-]? [01]+ \\#* \\. \\#*) |\n (?: [+-]? [01]+ \\#*)\n ) (?: [sldefSLDEF] [+-]? [01]+)?\n ) |\n (?: (?: [iI][nN][fF])\\.[0f] | (?: [nN][aA][nN])\\.[0f]) |\n ) i\n ) |\n [+-] (?: (?: [iI][nN][fF])\\.[0f] | (?: [nN][aA][nN])\\.[0f]) |\n (?:\n (?: [+-]? [01]+ \\#* \\/ [01]+ \\#*)|\n (?: [+-]? [01]* \\. [01]+ \\#*) |\n (?: [+-]? [01]+ \\#* \\. \\#*) |\n (?: [+-]? [01]+ \\#*)\n ) (?: [sldefSLDEF] [+-]? [01]+)?\n ) (?=$|[()\\[\\]{}\",'`;\\s])\n", + "match": "(?<=^|[()\\[\\]{}\",'`;\\s])(?:\\#[bB](?:\\#[eEiI])?|(?:\\#[eEiI])?\\#[bB])(?:(?:(?:(?:(?:(?:[+-]?[01]+\\#*\\/[01]+\\#*)|(?:[+-]?[01]+\\.[01]+\\#*)|(?:[+-]?[01]+\\#*\\.\\#*)|(?:[+-]?[01]+\\#*))(?:[sldefSLDEF][+-]?[01]+)?)|[+-](?:(?:[iI][nN][fF])\\.[0f]|(?:[nN][aA][nN])\\.[0f]))@(?:(?:(?:(?:[+-]?[01]+\\#*\\/[01]+\\#*)|(?:[+-]?[01]+\\.[01]+\\#*)|(?:[+-]?[01]+\\#*\\.\\#*)|(?:[+-]?[01]+\\#*))(?:[sldefSLDEF][+-]?[01]+)?)|(?:(?:[iI][nN][fF])\\.[0f]|(?:[nN][aA][nN])\\.[0f])))|(?:(?:(?:(?:(?:[+-]?[01]+\\#*\\/[01]+\\#*)|(?:[+-]?[01]+\\.[01]+\\#*)|(?:[+-]?[01]+\\#*\\.\\#*)|(?:[+-]?[01]+\\#*))(?:[sldefSLDEF][+-]?[01]+)?)|[+-](?:(?:[iI][nN][fF])\\.[0f]|(?:[nN][aA][nN])\\.[0f]))?[+-](?:(?:(?:(?:[+-]?[01]+\\#*\\/[01]+\\#*)|(?:[+-]?[01]+\\.[01]+\\#*)|(?:[+-]?[01]+\\#*\\.\\#*)|(?:[+-]?[01]+\\#*))(?:[sldefSLDEF][+-]?[01]+)?)|(?:(?:[iI][nN][fF])\\.[0f]|(?:[nN][aA][nN])\\.[0f])|)i)|[+-](?:(?:[iI][nN][fF])\\.[0f]|(?:[nN][aA][nN])\\.[0f])|(?:(?:[+-]?[01]+\\#*\\/[01]+\\#*)|(?:[+-]?[01]*\\.[01]+\\#*)|(?:[+-]?[01]+\\#*\\.\\#*)|(?:[+-]?[01]+\\#*))(?:[sldefSLDEF][+-]?[01]+)?)(?=$|[()\\[\\]{}\",'`;\\s])", "name": "constant.numeric.bin.racket" } ] @@ -1124,7 +1121,7 @@ "number-dec": { "patterns": [ { - "match": "(?x)\n (?<=^|[()\\[\\]{}\",'`;\\s])\n (?: (?: \\#[dD])?(?: \\#[eEiI])? | (?: \\#[eEiI])?(?: \\#[dD])?)\n (?:\n (?:\n (?:\n (?:\n (?:\n (?: [+-]? \\d+ \\#* \\/ \\d+ \\#*)|\n (?: [+-]? \\d+ \\. \\d+ \\#*) |\n (?: [+-]? \\d+ \\#* \\. \\#*) |\n (?: [+-]? \\d+ \\#*)\n ) (?: [sldefSLDEF] [+-]? \\d+)?\n ) |\n [+-] (?: (?: [iI][nN][fF])\\.[0f] | (?: [nN][aA][nN])\\.[0f])\n ) @\n (?:\n (?:\n (?:\n (?: [+-]? \\d+ \\#* \\/ \\d+ \\#*)|\n (?: [+-]? \\d+ \\. \\d+ \\#*) |\n (?: [+-]? \\d+ \\#* \\. \\#*) |\n (?: [+-]? \\d+ \\#*)\n ) (?: [sldefSLDEF] [+-]? \\d+)?\n ) |\n [+-] (?: (?: [iI][nN][fF])\\.[0f] | (?: [nN][aA][nN])\\.[0f])\n )\n ) |\n (?:\n (?:\n (?:\n (?:\n (?: [+-]? \\d+ \\#* \\/ \\d+ \\#*)|\n (?: [+-]? \\d+ \\. \\d+ \\#*) |\n (?: [+-]? \\d+ \\#* \\. \\#*) |\n (?: [+-]? \\d+ \\#*)\n ) (?: [sldefSLDEF] [+-]? \\d+)?\n ) |\n [+-] (?: (?: [iI][nN][fF])\\.[0f] | (?: [nN][aA][nN])\\.[0f])\n )? [+-]\n (?:\n (?:\n (?:\n (?: [+-]? \\d+ \\#* \\/ \\d+ \\#*)|\n (?: [+-]? \\d+ \\. \\d+ \\#*) |\n (?: [+-]? \\d+ \\#* \\. \\#*) |\n (?: [+-]? \\d+ \\#*)\n ) (?: [sldefSLDEF] [+-]? \\d+)?\n ) |\n (?: (?: [iI][nN][fF])\\.[0f] | (?: [nN][aA][nN])\\.[0f]) |\n ) i\n ) |\n [+-] (?: (?: [iI][nN][fF])\\.[0f] | (?: [nN][aA][nN])\\.[0f]) |\n (?:\n (?: [+-]? \\d+ \\#* \\/ \\d+ \\#*)|\n (?: [+-]? \\d* \\. \\d+ \\#*) |\n (?: [+-]? \\d+ \\#* \\. \\#*) |\n (?: [+-]? \\d+ \\#*)\n ) (?: [sldefSLDEF] [+-]? \\d+)?\n ) (?=$|[()\\[\\]{}\",'`;\\s])\n", + "match": "(?<=^|[()\\[\\]{}\",'`;\\s])(?:(?:\\#[dD])?(?:\\#[eEiI])?|(?:\\#[eEiI])?(?:\\#[dD])?)(?:(?:(?:(?:(?:(?:[+-]?\\d+\\#*\\/\\d+\\#*)|(?:[+-]?\\d+\\.\\d+\\#*)|(?:[+-]?\\d+\\#*\\.\\#*)|(?:[+-]?\\d+\\#*))(?:[sldefSLDEF][+-]?\\d+)?)|[+-](?:(?:[iI][nN][fF])\\.[0f]|(?:[nN][aA][nN])\\.[0f]))@(?:(?:(?:(?:[+-]?\\d+\\#*\\/\\d+\\#*)|(?:[+-]?\\d+\\.\\d+\\#*)|(?:[+-]?\\d+\\#*\\.\\#*)|(?:[+-]?\\d+\\#*))(?:[sldefSLDEF][+-]?\\d+)?)|[+-](?:(?:[iI][nN][fF])\\.[0f]|(?:[nN][aA][nN])\\.[0f])))|(?:(?:(?:(?:(?:[+-]?\\d+\\#*\\/\\d+\\#*)|(?:[+-]?\\d+\\.\\d+\\#*)|(?:[+-]?\\d+\\#*\\.\\#*)|(?:[+-]?\\d+\\#*))(?:[sldefSLDEF][+-]?\\d+)?)|[+-](?:(?:[iI][nN][fF])\\.[0f]|(?:[nN][aA][nN])\\.[0f]))?[+-](?:(?:(?:(?:[+-]?\\d+\\#*\\/\\d+\\#*)|(?:[+-]?\\d+\\.\\d+\\#*)|(?:[+-]?\\d+\\#*\\.\\#*)|(?:[+-]?\\d+\\#*))(?:[sldefSLDEF][+-]?\\d+)?)|(?:(?:[iI][nN][fF])\\.[0f]|(?:[nN][aA][nN])\\.[0f])|)i)|[+-](?:(?:[iI][nN][fF])\\.[0f]|(?:[nN][aA][nN])\\.[0f])|(?:(?:[+-]?\\d+\\#*\\/\\d+\\#*)|(?:[+-]?\\d*\\.\\d+\\#*)|(?:[+-]?\\d+\\#*\\.\\#*)|(?:[+-]?\\d+\\#*))(?:[sldefSLDEF][+-]?\\d+)?)(?=$|[()\\[\\]{}\",'`;\\s])", "name": "constant.numeric.racket" } ] @@ -1132,7 +1129,7 @@ "number-hex": { "patterns": [ { - "match": "(?x)\n (?<=^|[()\\[\\]{}\",'`;\\s])\n (?: \\#[xX](?: \\#[eEiI])? | (?: \\#[eEiI])?\\#[xX])\n (?:\n (?:\n (?:\n (?:\n (?:\n (?: [+-]? [0-9a-fA-F]+ \\#* \\/ [0-9a-fA-F]+ \\#*)|\n (?: [+-]? [0-9a-fA-F] \\. [0-9a-fA-F]+ \\#*) |\n (?: [+-]? [0-9a-fA-F]+ \\#* \\. \\#*) |\n (?: [+-]? [0-9a-fA-F]+ \\#*)\n ) (?: [slSL] [+-]? [0-9a-fA-F]+)?\n ) |\n [+-] (?: (?: [iI][nN][fF])\\.[0f] | (?: [nN][aA][nN])\\.[0f])\n ) @\n (?:\n (?:\n (?:\n (?: [+-]? [0-9a-fA-F]+ \\#* \\/ [0-9a-fA-F]+ \\#*)|\n (?: [+-]? [0-9a-fA-F]+ \\. [0-9a-fA-F]+ \\#*) |\n (?: [+-]? [0-9a-fA-F]+ \\#* \\. \\#*) |\n (?: [+-]? [0-9a-fA-F]+ \\#*)\n ) (?: [slSL] [+-]? [0-9a-fA-F]+)?\n ) |\n (?: (?: [iI][nN][fF])\\.[0f] | (?: [nN][aA][nN])\\.[0f])\n )\n ) |\n (?:\n (?:\n (?:\n (?:\n (?: [+-]? [0-9a-fA-F]+ \\#* \\/ [0-9a-fA-F]+ \\#*)|\n (?: [+-]? [0-9a-fA-F]+ \\. [0-9a-fA-F]+ \\#*) |\n (?: [+-]? [0-9a-fA-F]+ \\#* \\. \\#*) |\n (?: [+-]? [0-9a-fA-F]+ \\#*)\n ) (?: [slSL] [+-]? [0-9a-fA-F]+)?\n ) |\n [+-] (?: (?: [iI][nN][fF])\\.[0f] | (?: [nN][aA][nN])\\.[0f])\n )? [+-]\n (?:\n (?:\n (?:\n (?: [+-]? [0-9a-fA-F]+ \\#* \\/ [0-9a-fA-F]+ \\#*)|\n (?: [+-]? [0-9a-fA-F]+ \\. [0-9a-fA-F]+ \\#*) |\n (?: [+-]? [0-9a-fA-F]+ \\#* \\. \\#*) |\n (?: [+-]? [0-9a-fA-F]+ \\#*)\n ) (?: [slSL] [+-]? [0-9a-fA-F]+)?\n ) |\n (?: (?: [iI][nN][fF])\\.[0f] | (?: [nN][aA][nN])\\.[0f]) |\n ) i\n ) |\n [+-] (?: (?: [iI][nN][fF])\\.[0f] | (?: [nN][aA][nN])\\.[0f]) |\n (?:\n (?: [+-]? [0-9a-fA-F]+ \\#* \\/ [0-9a-fA-F]+ \\#*)|\n (?: [+-]? [0-9a-fA-F]* \\. [0-9a-fA-F]+ \\#*) |\n (?: [+-]? [0-9a-fA-F]+ \\#* \\. \\#*) |\n (?: [+-]? [0-9a-fA-F]+ \\#*)\n ) (?: [slSL] [+-]? [0-9a-fA-F]+)?\n ) (?=$|[()\\[\\]{}\",'`;\\s])\n", + "match": "(?<=^|[()\\[\\]{}\",'`;\\s])(?:\\#[xX](?:\\#[eEiI])?|(?:\\#[eEiI])?\\#[xX])(?:(?:(?:(?:(?:(?:[+-]?[0-9a-fA-F]+\\#*\\/[0-9a-fA-F]+\\#*)|(?:[+-]?[0-9a-fA-F]\\.[0-9a-fA-F]+\\#*)|(?:[+-]?[0-9a-fA-F]+\\#*\\.\\#*)|(?:[+-]?[0-9a-fA-F]+\\#*))(?:[slSL][+-]?[0-9a-fA-F]+)?)|[+-](?:(?:[iI][nN][fF])\\.[0f]|(?:[nN][aA][nN])\\.[0f]))@(?:(?:(?:(?:[+-]?[0-9a-fA-F]+\\#*\\/[0-9a-fA-F]+\\#*)|(?:[+-]?[0-9a-fA-F]+\\.[0-9a-fA-F]+\\#*)|(?:[+-]?[0-9a-fA-F]+\\#*\\.\\#*)|(?:[+-]?[0-9a-fA-F]+\\#*))(?:[slSL][+-]?[0-9a-fA-F]+)?)|(?:(?:[iI][nN][fF])\\.[0f]|(?:[nN][aA][nN])\\.[0f])))|(?:(?:(?:(?:(?:[+-]?[0-9a-fA-F]+\\#*\\/[0-9a-fA-F]+\\#*)|(?:[+-]?[0-9a-fA-F]+\\.[0-9a-fA-F]+\\#*)|(?:[+-]?[0-9a-fA-F]+\\#*\\.\\#*)|(?:[+-]?[0-9a-fA-F]+\\#*))(?:[slSL][+-]?[0-9a-fA-F]+)?)|[+-](?:(?:[iI][nN][fF])\\.[0f]|(?:[nN][aA][nN])\\.[0f]))?[+-](?:(?:(?:(?:[+-]?[0-9a-fA-F]+\\#*\\/[0-9a-fA-F]+\\#*)|(?:[+-]?[0-9a-fA-F]+\\.[0-9a-fA-F]+\\#*)|(?:[+-]?[0-9a-fA-F]+\\#*\\.\\#*)|(?:[+-]?[0-9a-fA-F]+\\#*))(?:[slSL][+-]?[0-9a-fA-F]+)?)|(?:(?:[iI][nN][fF])\\.[0f]|(?:[nN][aA][nN])\\.[0f])|)i)|[+-](?:(?:[iI][nN][fF])\\.[0f]|(?:[nN][aA][nN])\\.[0f])|(?:(?:[+-]?[0-9a-fA-F]+\\#*\\/[0-9a-fA-F]+\\#*)|(?:[+-]?[0-9a-fA-F]*\\.[0-9a-fA-F]+\\#*)|(?:[+-]?[0-9a-fA-F]+\\#*\\.\\#*)|(?:[+-]?[0-9a-fA-F]+\\#*))(?:[slSL][+-]?[0-9a-fA-F]+)?)(?=$|[()\\[\\]{}\",'`;\\s])", "name": "constant.numeric.hex.racket" } ] @@ -1140,7 +1137,7 @@ "number-oct": { "patterns": [ { - "match": "(?x)\n (?<=^|[()\\[\\]{}\",'`;\\s])\n (?: \\#[oO](?: \\#[eEiI])? | (?: \\#[eEiI])?\\#[oO])\n (?:\n (?:\n (?:\n (?:\n (?:\n (?: [+-]? [0-7]+ \\#* \\/ [0-7]+ \\#*)|\n (?: [+-]? [0-7]+ \\. [0-7]+ \\#*) |\n (?: [+-]? [0-7]+ \\#* \\. \\#*) |\n (?: [+-]? [0-7]+ \\#*)\n ) (?: [sldefSLDEF] [+-]? [0-7]+)?\n ) |\n [+-] (?: (?: [iI][nN][fF])\\.[0f] | (?: [nN][aA][nN])\\.[0f])\n ) @\n (?:\n (?:\n (?:\n (?: [+-]? [0-7]+ \\#* \\/ [0-7]+ \\#*)|\n (?: [+-]? [0-7]+ \\. [0-7]+ \\#*) |\n (?: [+-]? [0-7]+ \\#* \\. \\#*) |\n (?: [+-]? [0-7]+ \\#*)\n ) (?: [sldefSLDEF] [+-]? [0-7]+)?\n ) |\n [+-] (?: (?: [iI][nN][fF])\\.[0f] | (?: [nN][aA][nN])\\.[0f])\n )\n ) |\n (?:\n (?:\n (?:\n (?:\n (?: [+-]? [0-7]+ \\#* \\/ [0-7]+ \\#*)|\n (?: [+-]? [0-7]+ \\. [0-7]+ \\#*) |\n (?: [+-]? [0-7]+ \\#* \\. \\#*) |\n (?: [+-]? [0-7]+ \\#*)\n ) (?: [sldefSLDEF] [+-]? [0-7]+)?\n ) |\n [+-] (?: (?: [iI][nN][fF])\\.[0f] | (?: [nN][aA][nN])\\.[0f])\n )? [+-]\n (?:\n (?:\n (?:\n (?: [+-]? [0-7]+ \\#* \\/ [0-7]+ \\#*)|\n (?: [+-]? [0-7]+ \\. [0-7]+ \\#*) |\n (?: [+-]? [0-7]+ \\#* \\. \\#*) |\n (?: [+-]? [0-7]+ \\#*)\n ) (?: [sldefSLDEF] [+-]? [0-7]+)?\n ) |\n (?: (?: [iI][nN][fF])\\.[0f] | (?: [nN][aA][nN])\\.[0f]) |\n ) i\n ) |\n [+-] (?: (?: [iI][nN][fF])\\.[0f] | (?: [nN][aA][nN])\\.[0f]) |\n (?:\n (?: [+-]? [0-7]+ \\#* \\/ [0-7]+ \\#*)|\n (?: [+-]? [0-7]* \\. [0-7]+ \\#*) |\n (?: [+-]? [0-7]+ \\#* \\. \\#*) |\n (?: [+-]? [0-7]+ \\#*)\n ) (?: [sldefSLDEF] [+-]? [0-7]+)?\n ) (?=$|[()\\[\\]{}\",'`;\\s])\n", + "match": "(?<=^|[()\\[\\]{}\",'`;\\s])(?:\\#[oO](?:\\#[eEiI])?|(?:\\#[eEiI])?\\#[oO])(?:(?:(?:(?:(?:(?:[+-]?[0-7]+\\#*\\/[0-7]+\\#*)|(?:[+-]?[0-7]+\\.[0-7]+\\#*)|(?:[+-]?[0-7]+\\#*\\.\\#*)|(?:[+-]?[0-7]+\\#*))(?:[sldefSLDEF][+-]?[0-7]+)?)|[+-](?:(?:[iI][nN][fF])\\.[0f]|(?:[nN][aA][nN])\\.[0f]))@(?:(?:(?:(?:[+-]?[0-7]+\\#*\\/[0-7]+\\#*)|(?:[+-]?[0-7]+\\.[0-7]+\\#*)|(?:[+-]?[0-7]+\\#*\\.\\#*)|(?:[+-]?[0-7]+\\#*))(?:[sldefSLDEF][+-]?[0-7]+)?)|[+-](?:(?:[iI][nN][fF])\\.[0f]|(?:[nN][aA][nN])\\.[0f])))|(?:(?:(?:(?:(?:[+-]?[0-7]+\\#*\\/[0-7]+\\#*)|(?:[+-]?[0-7]+\\.[0-7]+\\#*)|(?:[+-]?[0-7]+\\#*\\.\\#*)|(?:[+-]?[0-7]+\\#*))(?:[sldefSLDEF][+-]?[0-7]+)?)|[+-](?:(?:[iI][nN][fF])\\.[0f]|(?:[nN][aA][nN])\\.[0f]))?[+-](?:(?:(?:(?:[+-]?[0-7]+\\#*\\/[0-7]+\\#*)|(?:[+-]?[0-7]+\\.[0-7]+\\#*)|(?:[+-]?[0-7]+\\#*\\.\\#*)|(?:[+-]?[0-7]+\\#*))(?:[sldefSLDEF][+-]?[0-7]+)?)|(?:(?:[iI][nN][fF])\\.[0f]|(?:[nN][aA][nN])\\.[0f])|)i)|[+-](?:(?:[iI][nN][fF])\\.[0f]|(?:[nN][aA][nN])\\.[0f])|(?:(?:[+-]?[0-7]+\\#*\\/[0-7]+\\#*)|(?:[+-]?[0-7]*\\.[0-7]+\\#*)|(?:[+-]?[0-7]+\\#*\\.\\#*)|(?:[+-]?[0-7]+\\#*))(?:[sldefSLDEF][+-]?[0-7]+)?)(?=$|[()\\[\\]{}\",'`;\\s])", "name": "constant.numeric.octal.racket" } ] @@ -1289,7 +1286,7 @@ "quote": { "patterns": [ { - "match": "(?x) (?<=^|[()\\[\\]{}\\\",'`;\\s])\n(?: ,@ | ' | ` | , | \\#' | \\#` | \\#, | \\#~ | \\#,@)+\n(?=[()\\[\\]{}\\\",'`;\\s] | \\#[^%] | [^()\\[\\]{}\",'`;\\s] )\n", + "match": "(?<=^|[()\\[\\]{}\\\",'`;\\s])(?:,@|'|`|,|\\#'|\\#`|\\#,|\\#~|\\#,@)+(?=[()\\[\\]{}\\\",'`;\\s]|\\#[^%]|[^()\\[\\]{}\",'`;\\s])", "name": "support.function.racket" } ] @@ -1372,7 +1369,7 @@ "struct": { "patterns": [ { - "begin": "(?x) (?<=[(\\[{]) \\s*\n(struct) \\s+\n([^(\\#)\\[\\]{}\",'`;\\s][^()\\[\\]{}\",'`;\\s]*)\n(?: \\s+ [^(\\#)\\[\\]{}\",'`;\\s][^()\\[\\]{}\",'`;\\s]*)? \\s*\n(\\()\n", + "begin": "(?<=[(\\[{])\\s*(struct)\\s+([^(\\#)\\[\\]{}\",'`;\\s][^()\\[\\]{}\",'`;\\s]*)(?:\\s+[^(\\#)\\[\\]{}\",'`;\\s][^()\\[\\]{}\",'`;\\s]*)?\\s*(\\()", "beginCaptures": { "1": { "name": "storage.struct.racket" @@ -1404,7 +1401,7 @@ ] }, { - "begin": "(?x) (?<=[(\\[{]) \\s*\n(struct) \\s+\n([^(\\#)\\[\\]{}\",'`;\\s][^()\\[\\]{}\",'`;\\s]*)\n(?: \\s+ [^(\\#)\\[\\]{}\",'`;\\s][^()\\[\\]{}\",'`;\\s]*)? \\s*\n(\\[)\n", + "begin": "(?<=[(\\[{])\\s*(struct)\\s+([^(\\#)\\[\\]{}\",'`;\\s][^()\\[\\]{}\",'`;\\s]*)(?:\\s+[^(\\#)\\[\\]{}\",'`;\\s][^()\\[\\]{}\",'`;\\s]*)?\\s*(\\[)", "beginCaptures": { "1": { "name": "storage.struct.racket" @@ -1433,7 +1430,7 @@ ] }, { - "begin": "(?x) (?<=[(\\[{]) \\s*\n(struct) \\s+\n([^(\\#)\\[\\]{}\",'`;\\s][^()\\[\\]{}\",'`;\\s]*)\n(?: \\s+ [^(\\#)\\[\\]{}\",'`;\\s][^()\\[\\]{}\",'`;\\s]*)? \\s*\n(\\{)\n", + "begin": "(?<=[(\\[{])\\s*(struct)\\s+([^(\\#)\\[\\]{}\",'`;\\s][^()\\[\\]{}\",'`;\\s]*)(?:\\s+[^(\\#)\\[\\]{}\",'`;\\s][^()\\[\\]{}\",'`;\\s]*)?\\s*(\\{)", "beginCaptures": { "1": { "name": "storage.struct.racket" @@ -1466,7 +1463,7 @@ "struct-field": { "patterns": [ { - "begin": "(?x) (?<=^|[()\\[\\]{}\",'`;\\s]) (\\|)", + "begin": "(?<=^|[()\\[\\]{}\",'`;\\s])(\\|)", "beginCaptures": { "1": { "name": "punctuation.verbatim.begin.racket" @@ -1481,7 +1478,7 @@ } }, { - "begin": "(?x) (?<=^|[()\\[\\]{}\",'`;\\s])\n(\\#% | \\\\\\ | [^\\#()\\[\\]{}\",'`;\\s])\n", + "begin": "(?<=^|[()\\[\\]{}\",'`;\\s])(\\#%|\\\\\\ |[^\\#()\\[\\]{}\",'`;\\s])", "beginCaptures": { "1": { "name": "variable.other.member.racket" @@ -1514,7 +1511,7 @@ "symbol": { "patterns": [ { - "begin": "(?x) (?<=^|[()\\[\\]{}\",;\\s]) (?: ` | ' )+(\\|)\n", + "begin": "(?<=^|[()\\[\\]{}\",;\\s])(?:`|')+(\\|)", "beginCaptures": { "1": { "name": "punctuation.verbatim.begin.racket" @@ -1529,7 +1526,7 @@ "name": "string.quoted.single.racket" }, { - "begin": "(?x) (?<=^|[()\\[\\]{}\",;\\s]) (?: ` | ' )+\n(?: \\#% | \\\\\\ | [^\\#()\\[\\]{}\",'`;\\s])\n", + "begin": "(?<=^|[()\\[\\]{}\",;\\s])(?:`|')+(?:\\#%|\\\\\\ |[^\\#()\\[\\]{}\",'`;\\s])", "end": "(?=[()\\[\\]{}\",'`;\\s])", "name": "string.quoted.single.racket", "patterns": [ @@ -1557,7 +1554,7 @@ "variable": { "patterns": [ { - "begin": "(?x) (?<=^|[()\\[\\]{}\",'`;\\s]) (\\|)", + "begin": "(?<=^|[()\\[\\]{}\",'`;\\s])(\\|)", "beginCaptures": { "1": { "name": "punctuation.verbatim.begin.racket" @@ -1571,7 +1568,7 @@ } }, { - "begin": "(?x) (?<=^|[()\\[\\]{}\",'`;\\s])\n(?: \\#% | \\\\\\ | [^\\#()\\[\\]{}\",'`;\\s])\n", + "begin": "(?<=^|[()\\[\\]{}\",'`;\\s])(?:\\#%|\\\\\\ |[^\\#()\\[\\]{}\",'`;\\s])", "end": "(?=[()\\[\\]{}\",'`;\\s])", "patterns": [ { @@ -1598,7 +1595,7 @@ "vector": { "patterns": [ { - "begin": "(?x) \\# (?: fl | Fl | fx | Fx)? [0-9]* \\(", + "begin": "\\#(?:fl|Fl|fx|Fx)?[0-9]*\\(", "beginCaptures": { "0": { "name": "punctuation.section.vector.begin.racket" @@ -1618,7 +1615,7 @@ ] }, { - "begin": "(?x) \\# (?: fl | Fl | fx | Fx)? [0-9]* \\[", + "begin": "\\#(?:fl|Fl|fx|Fx)?[0-9]*\\[", "beginCaptures": { "0": { "name": "punctuation.section.vector.begin.racket" @@ -1638,7 +1635,7 @@ ] }, { - "begin": "(?x) \\# (?: fl | Fl | fx | Fx)? [0-9]* {", + "begin": "\\#(?:fl|Fl|fx|Fx)?[0-9]*{", "beginCaptures": { "0": { "name": "punctuation.section.vector.begin.racket" diff --git a/packages/tm-grammars/grammars/regexp.json b/packages/tm-grammars/grammars/regexp.json index 6c11f10..9cc2902 100644 --- a/packages/tm-grammars/grammars/regexp.json +++ b/packages/tm-grammars/grammars/regexp.json @@ -125,7 +125,7 @@ "regexp-character-set": { "patterns": [ { - "match": "\\[\\s\\^?\\s\\](?!.*?\\])" + "match": "\\[\\^?\\](?!.*?\\])" }, { "begin": "(\\[)(\\^)?(\\])?", diff --git a/packages/tm-grammars/grammars/ruby.json b/packages/tm-grammars/grammars/ruby.json index d1cf06e..c11ab30 100644 --- a/packages/tm-grammars/grammars/ruby.json +++ b/packages/tm-grammars/grammars/ruby.json @@ -327,7 +327,7 @@ } }, { - "begin": "(?=def\\b)(?<=^|\\s)(def)\\s+((?>[a-zA-Z_]\\w*(?>\\.|::))?(?>[a-zA-Z_]\\w*(?>[?!]|=(?!>))?|===?|!=|!~|>[>=]?|<=>|<[<=]?|[%&`/\\|^]|\\*\\*?|=?~|[-+]@?|\\[\\]=?))[\\s\\t](?=[\\s\\t]*[^\\s#;])", + "begin": "(?=def\\b)(?<=^|\\s)(def)\\s+((?>[a-zA-Z_]\\w*(?>\\.|::))?(?>[a-zA-Z_]\\w*(?>[?!]|=(?!>))?|===?|!=|!~|>[>=]?|<=>|<[<=]?|[%&`/\\|^]|\\*\\*?|=?~|[-+]@?|\\[\\]=?))[ \\t](?=[ \\t]*[^\\s#;])", "beginCaptures": { "1": { "name": "keyword.control.def.ruby" diff --git a/packages/tm-grammars/grammars/scss.json b/packages/tm-grammars/grammars/scss.json index 2e09f2b..ec7207b 100644 --- a/packages/tm-grammars/grammars/scss.json +++ b/packages/tm-grammars/grammars/scss.json @@ -1566,7 +1566,7 @@ "name": "string.quoted.single.attribute-value.scss" } }, - "match": "(?xi)\n(\\[)\n\\s*\n(\n(?:\n[-a-zA-Z_0-9]|[^\\x00-\\x7F]\n| \\\\(?:[0-9a-fA-F]{1,6}|.)\n| \\#\\{\n| \\.?\\$\n| }\n)+?\n)\n(?:\n\\s*([~|^$*]?=)\\s*\n(?:\n(\n(?:\n[-a-zA-Z_0-9]|[^\\x00-\\x7F]\n| \\\\(?:[0-9a-fA-F]{1,6}|.)\n| \\#\\{\n| \\.?\\$\n| }\n)+\n)\n|\n((\")(.*?)(\"))\n|\n((')(.*?)('))\n)\n)?\n\\s*\n(\\])", + "match": "(?xi)\n(\\[)\n\\s*\n(\n (?:\n [-a-zA-Z_0-9]|[^\\x00-\\x7F] # Valid identifier characters\n | \\\\(?:[0-9a-fA-F]{1,6}|.) # Escape sequence\n | \\#\\{ # Interpolation (escaped to avoid Coffeelint errors)\n | \\.?\\$ # Possible start of interpolation variable\n | } # Possible end of interpolation\n )+?\n)\n(?:\n \\s*([~|^$*]?=)\\s*\n (?:\n (\n (?:\n [-a-zA-Z_0-9]|[^\\x00-\\x7F] # Valid identifier characters\n | \\\\(?:[0-9a-fA-F]{1,6}|.) # Escape sequence\n | \\#\\{ # Interpolation (escaped to avoid Coffeelint errors)\n | \\.?\\$ # Possible start of interpolation variable\n | } # Possible end of interpolation\n )+\n )\n |\n ((\")(.*?)(\"))\n |\n ((')(.*?)('))\n )\n)?\n\\s*\n(\\])", "name": "meta.attribute-selector.scss" }, "selector_class": { diff --git a/packages/tm-grammars/grammars/sql.json b/packages/tm-grammars/grammars/sql.json index 3e89bc3..83db1e2 100644 --- a/packages/tm-grammars/grammars/sql.json +++ b/packages/tm-grammars/grammars/sql.json @@ -118,7 +118,7 @@ "name": "storage.type.sql" } }, - "match": "(?xi)\n\n\n\\b(bigint|bigserial|bit|boolean|box|bytea|cidr|circle|date|double\\sprecision|inet|int|integer|line|lseg|macaddr|money|oid|path|point|polygon|real|serial|smallint|sysdate|text)\\b\n\n\n|\\b(bit\\svarying|character\\s(?:varying)?|tinyint|var\\schar|float|interval)\\((\\d+)\\)\n\n\n|\\b(char|number|varchar\\d?)\\b(?:\\((\\d+)\\))?\n\n\n|\\b(numeric|decimal)\\b(?:\\((\\d+),(\\d+)\\))?\n\n\n|\\b(times?)\\b(?:\\((\\d+)\\))?(\\swith(?:out)?\\stime\\szone\\b)?\n\n\n|\\b(timestamp)(?:(s|tz))?\\b(?:\\((\\d+)\\))?(\\s(with|without)\\stime\\szone\\b)?\n\n" + "match": "(?xi)\n\n\t\t\t\t# normal stuff, capture 1\n\t\t\t\t \\b(bigint|bigserial|bit|boolean|box|bytea|cidr|circle|date|double\\sprecision|inet|int|integer|line|lseg|macaddr|money|oid|path|point|polygon|real|serial|smallint|sysdate|text)\\b\n\n\t\t\t\t# numeric suffix, capture 2 + 3i\n\t\t\t\t|\\b(bit\\svarying|character\\s(?:varying)?|tinyint|var\\schar|float|interval)\\((\\d+)\\)\n\n\t\t\t\t# optional numeric suffix, capture 4 + 5i\n\t\t\t\t|\\b(char|number|varchar\\d?)\\b(?:\\((\\d+)\\))?\n\n\t\t\t\t# special case, capture 6 + 7i + 8i\n\t\t\t\t|\\b(numeric|decimal)\\b(?:\\((\\d+),(\\d+)\\))?\n\n\t\t\t\t# special case, captures 9, 10i, 11\n\t\t\t\t|\\b(times?)\\b(?:\\((\\d+)\\))?(\\swith(?:out)?\\stime\\szone\\b)?\n\n\t\t\t\t# special case, captures 12, 13, 14i, 15\n\t\t\t\t|\\b(timestamp)(?:(s|tz))?\\b(?:\\((\\d+)\\))?(\\s(with|without)\\stime\\szone\\b)?\n\n\t\t\t" }, { "match": "(?i:\\b((?:primary|foreign)\\s+key|references|on\\sdelete(\\s+cascade)?|nocheck|check|constraint|collate|default)\\b)", diff --git a/packages/tm-grammars/grammars/stylus.json b/packages/tm-grammars/grammars/stylus.json index 0b9a7f4..3ab710b 100644 --- a/packages/tm-grammars/grammars/stylus.json +++ b/packages/tm-grammars/grammars/stylus.json @@ -804,7 +804,7 @@ ] }, "property": { - "begin": "(?x:\\G\\s*(?:\n(-webkit-[-A-Za-z]+|-moz-[-A-Za-z]+|-o-[-A-Za-z]+|-ms-[-A-Za-z]+|-khtml-[-A-Za-z]+|zoom|z-index|y|x|wrap|word-wrap|word-spacing|word-break|word|width|widows|white-space-collapse|white-space|white|weight|volume|voice-volume|voice-stress|voice-rate|voice-pitch-range|voice-pitch|voice-family|voice-duration|voice-balance|voice|visibility|vertical-align|variant|user-select|up|unicode-bidi|unicode-range|unicode|trim|transition-timing-function|transition-property|transition-duration|transition-delay|transition|transform|touch-action|top-width|top-style|top-right-radius|top-left-radius|top-color|top|timing-function|text-wrap|text-transform|text-shadow|text-replace|text-rendering|text-overflow|text-outline|text-justify|text-indent|text-height|text-emphasis|text-decoration|text-align-last|text-align|text|target-position|target-new|target-name|target|table-layout|tab-size|style-type|style-position|style-image|style|string-set|stretch|stress|stacking-strategy|stacking-shift|stacking-ruby|stacking|src|speed|speech-rate|speech|speak-punctuation|speak-numeral|speak-header|speak|span|spacing|space-collapse|space|sizing|size-adjust|size|shadow|respond-to|rule-width|rule-style|rule-color|rule|ruby-span|ruby-position|ruby-overhang|ruby-align|ruby|rows|rotation-point|rotation|role|right-width|right-style|right-color|right|richness|rest-before|rest-after|rest|resource|resize|reset|replace|repeat|rendering-intent|rate|radius|quotes|punctuation-trim|punctuation|property|profile|presentation-level|presentation|position|pointer-events|point|play-state|play-during|play-count|pitch-range|pitch|phonemes|pause-before|pause-after|pause|page-policy|page-break-inside|page-break-before|page-break-after|page|padding-top|padding-right|padding-left|padding-bottom|padding|pack|overhang|overflow-y|overflow-x|overflow-style|overflow|outline-width|outline-style|outline-offset|outline-color|outline|orphans|origin|orientation|orient|ordinal-group|order|opacity|offset|numeral|new|nav-up|nav-right|nav-left|nav-index|nav-down|nav|name|move-to|model|mix-blend-mode|min-width|min-height|min|max-width|max-height|max|marquee-style|marquee-speed|marquee-play-count|marquee-direction|marquee|marks|mark-before|mark-after|mark|margin-top|margin-right|margin-left|margin-bottom|margin|mask-image|list-style-type|list-style-position|list-style-image|list-style|list|lines|line-stacking-strategy|line-stacking-shift|line-stacking-ruby|line-stacking|line-height|line-break|level|letter-spacing|length|left-width|left-style|left-color|left|label|justify-content|justify|iteration-count|inline-box-align|initial-value|initial-size|initial-before-align|initial-before-adjust|initial-after-align|initial-after-adjust|index|indent|increment|image-resolution|image-orientation|image|icon|hyphens|hyphenate-resource|hyphenate-lines|hyphenate-character|hyphenate-before|hyphenate-after|hyphenate|height|header|hanging-punctuation|gap|grid|grid-area|grid-auto-columns|grid-auto-flow|grid-auto-rows|grid-column|grid-column-end|grid-column-start|grid-row|grid-row-end|grid-row-start|grid-template|grid-template-areas|grid-template-columns|grid-template-rows|row-gap|gap|font-kerning|font-language-override|font-weight|font-variant-caps|font-variant|font-style|font-synthesis|font-stretch|font-size-adjust|font-size|font-family|font|float-offset|float|flex-wrap|flex-shrink|flex-grow|flex-group|flex-flow|flex-direction|flex-basis|flex|fit-position|fit|fill|filter|family|empty-cells|emphasis|elevation|duration|drop-initial-value|drop-initial-size|drop-initial-before-align|drop-initial-before-adjust|drop-initial-after-align|drop-initial-after-adjust|drop|down|dominant-baseline|display-role|display-model|display|direction|delay|decoration-break|decoration|cursor|cue-before|cue-after|cue|crop|counter-reset|counter-increment|counter|count|content|columns|column-width|column-span|column-rule-width|column-rule-style|column-rule-color|column-rule|column-gap|column-fill|column-count|column-break-before|column-break-after|column|color-profile|color|collapse|clip|clear|character|caption-side|break-inside|break-before|break-after|break|box-sizing|box-shadow|box-pack|box-orient|box-ordinal-group|box-lines|box-flex-group|box-flex|box-direction|box-decoration-break|box-align|box|bottom-width|bottom-style|bottom-right-radius|bottom-left-radius|bottom-color|bottom|border-width|border-top-width|border-top-style|border-top-right-radius|border-top-left-radius|border-top-color|border-top|border-style|border-spacing|border-right-width|border-right-style|border-right-color|border-right|border-radius|border-length|border-left-width|border-left-style|border-left-color|border-left|border-image|border-color|border-collapse|border-bottom-width|border-bottom-style|border-bottom-right-radius|border-bottom-left-radius|border-bottom-color|border-bottom|border|bookmark-target|bookmark-level|bookmark-label|bookmark|binding|bidi|before|baseline-shift|baseline|balance|background-blend-mode|background-size|background-repeat|background-position|background-origin|background-image|background-color|background-clip|background-break|background-attachment|background|azimuth|attachment|appearance|animation-timing-function|animation-play-state|animation-name|animation-iteration-count|animation-duration|animation-direction|animation-delay|animation-fill-mode|animation|alignment-baseline|alignment-adjust|alignment|align-self|align-last|align-items|align-content|align|after|adjust|will-change)|\n(writing-mode|text-anchor|stroke-width|stroke-opacity|stroke-miterlimit|stroke-linejoin|stroke-linecap|stroke-dashoffset|stroke-dasharray|stroke|stop-opacity|stop-color|shape-rendering|marker-start|marker-mid|marker-end|lighting-color|kerning|image-rendering|glyph-orientation-vertical|glyph-orientation-horizontal|flood-opacity|flood-color|fill-rule|fill-opacity|fill|enable-background|color-rendering|color-interpolation-filters|color-interpolation|clip-rule|clip-path)|\n([a-zA-Z_-][a-zA-Z0-9_-]*)\n)(?!([^\\S\\n]*&)|([^\\S\\n]*\\{))(?=:|([^\\S\\n]+[^\\s])))", + "begin": "(?:\\G\\s*(?:(-webkit-[-A-Za-z]+|-moz-[-A-Za-z]+|-o-[-A-Za-z]+|-ms-[-A-Za-z]+|-khtml-[-A-Za-z]+|zoom|z-index|y|x|wrap|word-wrap|word-spacing|word-break|word|width|widows|white-space-collapse|white-space|white|weight|volume|voice-volume|voice-stress|voice-rate|voice-pitch-range|voice-pitch|voice-family|voice-duration|voice-balance|voice|visibility|vertical-align|variant|user-select|up|unicode-bidi|unicode-range|unicode|trim|transition-timing-function|transition-property|transition-duration|transition-delay|transition|transform|touch-action|top-width|top-style|top-right-radius|top-left-radius|top-color|top|timing-function|text-wrap|text-transform|text-shadow|text-replace|text-rendering|text-overflow|text-outline|text-justify|text-indent|text-height|text-emphasis|text-decoration|text-align-last|text-align|text|target-position|target-new|target-name|target|table-layout|tab-size|style-type|style-position|style-image|style|string-set|stretch|stress|stacking-strategy|stacking-shift|stacking-ruby|stacking|src|speed|speech-rate|speech|speak-punctuation|speak-numeral|speak-header|speak|span|spacing|space-collapse|space|sizing|size-adjust|size|shadow|respond-to|rule-width|rule-style|rule-color|rule|ruby-span|ruby-position|ruby-overhang|ruby-align|ruby|rows|rotation-point|rotation|role|right-width|right-style|right-color|right|richness|rest-before|rest-after|rest|resource|resize|reset|replace|repeat|rendering-intent|rate|radius|quotes|punctuation-trim|punctuation|property|profile|presentation-level|presentation|position|pointer-events|point|play-state|play-during|play-count|pitch-range|pitch|phonemes|pause-before|pause-after|pause|page-policy|page-break-inside|page-break-before|page-break-after|page|padding-top|padding-right|padding-left|padding-bottom|padding|pack|overhang|overflow-y|overflow-x|overflow-style|overflow|outline-width|outline-style|outline-offset|outline-color|outline|orphans|origin|orientation|orient|ordinal-group|order|opacity|offset|numeral|new|nav-up|nav-right|nav-left|nav-index|nav-down|nav|name|move-to|model|mix-blend-mode|min-width|min-height|min|max-width|max-height|max|marquee-style|marquee-speed|marquee-play-count|marquee-direction|marquee|marks|mark-before|mark-after|mark|margin-top|margin-right|margin-left|margin-bottom|margin|mask-image|list-style-type|list-style-position|list-style-image|list-style|list|lines|line-stacking-strategy|line-stacking-shift|line-stacking-ruby|line-stacking|line-height|line-break|level|letter-spacing|length|left-width|left-style|left-color|left|label|justify-content|justify|iteration-count|inline-box-align|initial-value|initial-size|initial-before-align|initial-before-adjust|initial-after-align|initial-after-adjust|index|indent|increment|image-resolution|image-orientation|image|icon|hyphens|hyphenate-resource|hyphenate-lines|hyphenate-character|hyphenate-before|hyphenate-after|hyphenate|height|header|hanging-punctuation|gap|grid|grid-area|grid-auto-columns|grid-auto-flow|grid-auto-rows|grid-column|grid-column-end|grid-column-start|grid-row|grid-row-end|grid-row-start|grid-template|grid-template-areas|grid-template-columns|grid-template-rows|row-gap|gap|font-kerning|font-language-override|font-weight|font-variant-caps|font-variant|font-style|font-synthesis|font-stretch|font-size-adjust|font-size|font-family|font|float-offset|float|flex-wrap|flex-shrink|flex-grow|flex-group|flex-flow|flex-direction|flex-basis|flex|fit-position|fit|fill|filter|family|empty-cells|emphasis|elevation|duration|drop-initial-value|drop-initial-size|drop-initial-before-align|drop-initial-before-adjust|drop-initial-after-align|drop-initial-after-adjust|drop|down|dominant-baseline|display-role|display-model|display|direction|delay|decoration-break|decoration|cursor|cue-before|cue-after|cue|crop|counter-reset|counter-increment|counter|count|content|columns|column-width|column-span|column-rule-width|column-rule-style|column-rule-color|column-rule|column-gap|column-fill|column-count|column-break-before|column-break-after|column|color-profile|color|collapse|clip|clear|character|caption-side|break-inside|break-before|break-after|break|box-sizing|box-shadow|box-pack|box-orient|box-ordinal-group|box-lines|box-flex-group|box-flex|box-direction|box-decoration-break|box-align|box|bottom-width|bottom-style|bottom-right-radius|bottom-left-radius|bottom-color|bottom|border-width|border-top-width|border-top-style|border-top-right-radius|border-top-left-radius|border-top-color|border-top|border-style|border-spacing|border-right-width|border-right-style|border-right-color|border-right|border-radius|border-length|border-left-width|border-left-style|border-left-color|border-left|border-image|border-color|border-collapse|border-bottom-width|border-bottom-style|border-bottom-right-radius|border-bottom-left-radius|border-bottom-color|border-bottom|border|bookmark-target|bookmark-level|bookmark-label|bookmark|binding|bidi|before|baseline-shift|baseline|balance|background-blend-mode|background-size|background-repeat|background-position|background-origin|background-image|background-color|background-clip|background-break|background-attachment|background|azimuth|attachment|appearance|animation-timing-function|animation-play-state|animation-name|animation-iteration-count|animation-duration|animation-direction|animation-delay|animation-fill-mode|animation|alignment-baseline|alignment-adjust|alignment|align-self|align-last|align-items|align-content|align|after|adjust|will-change)|(writing-mode|text-anchor|stroke-width|stroke-opacity|stroke-miterlimit|stroke-linejoin|stroke-linecap|stroke-dashoffset|stroke-dasharray|stroke|stop-opacity|stop-color|shape-rendering|marker-start|marker-mid|marker-end|lighting-color|kerning|image-rendering|glyph-orientation-vertical|glyph-orientation-horizontal|flood-opacity|flood-color|fill-rule|fill-opacity|fill|enable-background|color-rendering|color-interpolation-filters|color-interpolation|clip-rule|clip-path)|([a-zA-Z_-][a-zA-Z0-9_-]*))(?!([^\\S\\n]*&)|([^\\S\\n]*\\{))(?=:|([^\\S\\n]+[^\\s])))", "beginCaptures": { "1": { "name": "support.type.property-name.css" diff --git a/packages/tm-grammars/grammars/swift.json b/packages/tm-grammars/grammars/swift.json index 5810047..7b3a1b3 100644 --- a/packages/tm-grammars/grammars/swift.json +++ b/packages/tm-grammars/grammars/swift.json @@ -1043,7 +1043,7 @@ "name": "punctuation.definition.identifier.swift" } }, - "end": "(?<=\\})|$(?# functions in protocol declarations or generated interfaces have no body)", + "end": "(?<=\\})|$", "name": "meta.definition.function.swift", "patterns": [ { @@ -1088,7 +1088,7 @@ ] }, "declarations-function-initializer": { - "begin": "(?<!\\.)\\b(init[?!]*(?# only one is valid, but we want the in⇥ snippet to produce something that looks good))\\s*(?=\\(|<)", + "begin": "(?<!\\.)\\b(init[?!]*)\\s*(?=\\(|<)", "beginCaptures": { "1": { "name": "storage.type.function.swift", @@ -1233,7 +1233,7 @@ "name": "punctuation.separator.generic-parameter-clause.begin.swift" } }, - "end": ">|(?=[^\\w\\d:<>\\s,=&`])(?# characters besides these are never valid in a generic param list -- even if it's not really a valid clause, we should stop trying to parse it if we see one of them.)", + "end": ">|(?=[^\\w\\d:<>\\s,=&`])", "endCaptures": { "0": { "name": "punctuation.separator.generic-parameter-clause.end.swift" @@ -1931,7 +1931,7 @@ ] }, "declarations-protocol-protocol-initializer": { - "begin": "(?<!\\.)\\b(init[?!]*(?# only one is valid, but we want the in⇥ snippet to produce something that looks good))\\s*(?=\\(|<)", + "begin": "(?<!\\.)\\b(init[?!]*)\\s*(?=\\(|<)", "beginCaptures": { "1": { "name": "storage.type.function.swift", @@ -3091,7 +3091,7 @@ } }, "comment": "Single-line regular expression literals must be matched all in one go\n in order to avoid ambiguities with operators, and to adhere to certain\n parsing rules in SE-0354/SE-0355, such as:\n - A regex literal will not be parsed if it contains an unbalanced ).\n - A regex may end with a space only if it began with an escaped space", - "match": "(((\\#+)?)/)(?(3)|(?!/))(?(3)|(?!\\s))(\\\\\\s)?(?<guts>(?>(?:\\\\Q(?:(?!\\\\E)(?!/\\2).)*+(?:\\\\E|(?(3)|(?<!\\s))(?=/\\2))|\\\\.|\\(\\?\\#[^)]*\\)|\\(\\?\\{(?<g1>\\{)?+(?<g2>\\{)?+(?<g3>\\{)?+(?<g4>\\{)?+(?<g5>\\{)?+.+?\\}(?(<g1>)\\})(?(<g2>)\\})(?(<g3>)\\})(?(<g4>)\\})(?(<g5>)\\})(?:\\[(?!\\d)\\w+\\])?[X<>]?\\)|(?<class>\\[\\s(?:\\\\.\\s|\\s[^\\[\\]]|\\g<class>)+\\])|\\(\\g<guts>?+\\)|(?:(?!/\\2)[^()\\[\\\\])+)+))?+(?(3)|(?(5)(?<!\\s)))(/\\2)|\\#+/.+(\\n)", + "match": "(((\\#+)?)/)(?(3)|(?!/))(?(3)|(?!\\s))(\\\\\\s)?(?<guts>(?>(?:\\\\Q(?:(?!\\\\E)(?!/\\2).)*+(?:\\\\E|(?(3)|(?<!\\s))(?=/\\2))|\\\\.|\\(\\?\\#[^)]*\\)|\\(\\?\\{(?<g1>\\{)?+(?<g2>\\{)?+(?<g3>\\{)?+(?<g4>\\{)?+(?<g5>\\{)?+.+?\\}(?(<g1>)\\})(?(<g2>)\\})(?(<g3>)\\})(?(<g4>)\\})(?(<g5>)\\})(?:\\[(?!\\d)\\w+\\])?[X<>]?\\)|(?<class>\\[(?:\\\\.|[^\\[\\]]|\\g<class>)+\\])|\\(\\g<guts>?+\\)|(?:(?!/\\2)[^()\\[\\\\])+)+))?+(?(3)|(?(5)(?<!\\s)))(/\\2)|\\#+/.+(\\n)", "name": "string.regexp.line.swift" } ] @@ -3369,7 +3369,7 @@ "name": "punctuation.definition.character-class.regexp" } }, - "match": "\\\\[pP]\\{([\\s\\w-]+(?:=[\\s\\w-]+)?)\\}|(\\[:)\\s([\\s\\w-]+(?:=[\\s\\w-]+)?)(:\\])", + "match": "\\\\[pP]\\{([\\s\\w-]+(?:=[\\s\\w-]+)?)\\}|(\\[:)([\\s\\w-]+(?:=[\\s\\w-]+)?)(:\\])", "name": "constant.other.character-class.set.regexp" }, "literals-regular-expression-literal-custom-char-class": { diff --git a/packages/tm-grammars/grammars/system-verilog.json b/packages/tm-grammars/grammars/system-verilog.json index e7783f2..45dcf0e 100644 --- a/packages/tm-grammars/grammars/system-verilog.json +++ b/packages/tm-grammars/grammars/system-verilog.json @@ -1133,7 +1133,7 @@ "name": "constant.character.escape.systemverilog" }, { - "match": "%(\\d+\\$)?['\\-+0[,;:_]?((-?\\d+)|\\*(-?\\d+\\$)?)?(\\.((-?\\d+)|\\*(-?\\d+\\$)?)?)?(hh|h|ll|l|j|z|t|L)?[xXhHdDoObBcClLvVmMpPsStTuUzZeEfFgG%]", + "match": "%(\\d+\\$)?['\\-+0 #]*[,;:_]?((-?\\d+)|\\*(-?\\d+\\$)?)?(\\.((-?\\d+)|\\*(-?\\d+\\$)?)?)?(hh|h|ll|l|j|z|t|L)?[xXhHdDoObBcClLvVmMpPsStTuUzZeEfFgG%]", "name": "constant.character.format.placeholder.systemverilog" }, { diff --git a/packages/tm-grammars/grammars/toml.json b/packages/tm-grammars/grammars/toml.json index 7a6c97a..abe0115 100644 --- a/packages/tm-grammars/grammars/toml.json +++ b/packages/tm-grammars/grammars/toml.json @@ -312,11 +312,11 @@ "name": "string.quoted.single.toml" }, { - "match": "\\G(?x)\n[0-9]{4}\n-\n(0[1-9]|1[012])\n-\n(?!00|3[2-9])[0-3][0-9]\n(\n[Tt ]\n(?!2[5-9])[0-2][0-9]\n:\n[0-5][0-9]\n:\n(?!6[1-9])[0-6][0-9]\n(\\.[0-9]+)?\n(\nZ\n| [+-](?!2[5-9])[0-2][0-9]:[0-5][0-9]\n)?\n)?\n", + "match": "\\G[0-9]{4}-(0[1-9]|1[012])-(?!00|3[2-9])[0-3][0-9]([Tt ](?!2[5-9])[0-2][0-9]:[0-5][0-9]:(?!6[1-9])[0-6][0-9](\\.[0-9]+)?(Z|[+-](?!2[5-9])[0-2][0-9]:[0-5][0-9])?)?", "name": "constant.other.date.toml" }, { - "match": "\\G(?x)\n(?!2[5-9])[0-2][0-9]\n:\n[0-5][0-9]\n:\n(?!6[1-9])[0-6][0-9]\n(\\.[0-9]+)?\n", + "match": "\\G(?!2[5-9])[0-2][0-9]:[0-5][0-9]:(?!6[1-9])[0-6][0-9](\\.[0-9]+)?", "name": "constant.other.time.toml" }, { diff --git a/packages/tm-grammars/grammars/tsx.json b/packages/tm-grammars/grammars/tsx.json index 7bd5a37..a68b592 100644 --- a/packages/tm-grammars/grammars/tsx.json +++ b/packages/tm-grammars/grammars/tsx.json @@ -1156,7 +1156,7 @@ "name": "invalid.illegal.syntax.jsdoc" } }, - "match": "(\\[)\\s*[\\w$]+(?:(?:\\[\\])?\\.[\\w$]+)*(?:\\s*(=)\\s*((?>\"(?:(?:\\*(?!/))|(?:\\\\(?!\"))|[^*\\\\])*?\"|'(?:(?:\\*(?!/))|(?:\\\\(?!'))|[^*\\\\])*?'|\\[\\s(?:(?:\\*(?!/))|[^*])*?\\]|(?:(?:\\*(?!/))|\\s(?!\\s*\\])|\\[.*?(?:\\]|(?=\\*/))|[^*\\s\\[\\]])*)*))?\\s*(?:(\\])((?:[^*\\s]|\\*[^\\s/])+)?|(?=\\*/))", + "match": "(\\[)\\s*[\\w$]+(?:(?:\\[\\])?\\.[\\w$]+)*(?:\\s*(=)\\s*((?>\"(?:(?:\\*(?!/))|(?:\\\\(?!\"))|[^*\\\\])*?\"|'(?:(?:\\*(?!/))|(?:\\\\(?!'))|[^*\\\\])*?'|\\[(?:(?:\\*(?!/))|[^*])*?\\]|(?:(?:\\*(?!/))|\\s(?!\\s*\\])|\\[.*?(?:\\]|(?=\\*/))|[^*\\s\\[\\]])*)*))?\\s*(?:(\\])((?:[^*\\s]|\\*[^\\s/])+)?|(?=\\*/))", "name": "variable.other.jsdoc" } ] diff --git a/packages/tm-grammars/grammars/twig.json b/packages/tm-grammars/grammars/twig.json index 6146c41..70c76fe 100644 --- a/packages/tm-grammars/grammars/twig.json +++ b/packages/tm-grammars/grammars/twig.json @@ -234,7 +234,7 @@ ] }, { - "begin": "(?ix)\n\n(?<=\\{\\%\\sjs\\s\\%\\}|\\{\\%\\sincludejs\\s\\%\\})\n", + "begin": "(?ix) # Enable free spacing mode, case insensitive\n # Make sure our opening js tag has word boundaries\n (?<=\\{\\%\\sjs\\s\\%\\}|\\{\\%\\sincludejs\\s\\%\\})\n ", "comment": "Add JS support to set tags that use the pattern \"css\" in their name", "end": "(?ix)(?=\\{\\%\\sendjs\\s\\%\\}|\\{\\%\\sendincludejs\\s\\%\\})", "name": "source.js.embedded.twig", @@ -245,7 +245,7 @@ ] }, { - "begin": "(?ix)\n(?<=\\{\\%\\scss\\s\\%\\}|\\{\\%\\sincludecss\\s\\%\\}|\\{\\%\\sincludehirescss\\s\\%\\})\n", + "begin": "(?ix) # Enable free spacing mode, case insensitive\n (?<=\\{\\%\\scss\\s\\%\\}|\\{\\%\\sincludecss\\s\\%\\}|\\{\\%\\sincludehirescss\\s\\%\\})\n ", "comment": "Add CSS support to set tags that use the pattern \"css\" in their name", "end": "(?ix)(?=\\{\\%\\sendcss\\s\\%\\}|\\{\\%\\sendincludecss\\s\\%\\}|\\{\\%\\sendincludehirescss\\s\\%\\})", "name": "source.css.embedded.twig", @@ -256,7 +256,7 @@ ] }, { - "begin": "(?ix)\n(?<=\\{\\%\\sscss\\s\\%\\}|\\{\\%\\sincludescss\\s\\%\\}|\\{\\%\\sincludehiresscss\\s\\%\\})\n", + "begin": "(?ix) # Enable free spacing mode, case insensitive\n (?<=\\{\\%\\sscss\\s\\%\\}|\\{\\%\\sincludescss\\s\\%\\}|\\{\\%\\sincludehiresscss\\s\\%\\})\n ", "comment": "Add SCSS support to set tags that use the pattern \"scss\" in their name", "end": "(?ix)(?=\\{\\%\\sendscss\\s\\%\\}|\\{\\%\\sendincludescss\\s\\%\\}|\\{\\%\\sendincludehiresscss\\s\\%\\})", "name": "source.css.scss.embedded.twig", diff --git a/packages/tm-grammars/grammars/typescript.json b/packages/tm-grammars/grammars/typescript.json index dd89c45..b71e310 100644 --- a/packages/tm-grammars/grammars/typescript.json +++ b/packages/tm-grammars/grammars/typescript.json @@ -1208,7 +1208,7 @@ "name": "invalid.illegal.syntax.jsdoc" } }, - "match": "(\\[)\\s*[\\w$]+(?:(?:\\[\\])?\\.[\\w$]+)*(?:\\s*(=)\\s*((?>\"(?:(?:\\*(?!/))|(?:\\\\(?!\"))|[^*\\\\])*?\"|'(?:(?:\\*(?!/))|(?:\\\\(?!'))|[^*\\\\])*?'|\\[\\s(?:(?:\\*(?!/))|[^*])*?\\]|(?:(?:\\*(?!/))|\\s(?!\\s*\\])|\\[.*?(?:\\]|(?=\\*/))|[^*\\s\\[\\]])*)*))?\\s*(?:(\\])((?:[^*\\s]|\\*[^\\s/])+)?|(?=\\*/))", + "match": "(\\[)\\s*[\\w$]+(?:(?:\\[\\])?\\.[\\w$]+)*(?:\\s*(=)\\s*((?>\"(?:(?:\\*(?!/))|(?:\\\\(?!\"))|[^*\\\\])*?\"|'(?:(?:\\*(?!/))|(?:\\\\(?!'))|[^*\\\\])*?'|\\[(?:(?:\\*(?!/))|[^*])*?\\]|(?:(?:\\*(?!/))|\\s(?!\\s*\\])|\\[.*?(?:\\]|(?=\\*/))|[^*\\s\\[\\]])*)*))?\\s*(?:(\\])((?:[^*\\s]|\\*[^\\s/])+)?|(?=\\*/))", "name": "variable.other.jsdoc" } ] diff --git a/packages/tm-grammars/grammars/vyper.json b/packages/tm-grammars/grammars/vyper.json index c1a1686..f4888b3 100644 --- a/packages/tm-grammars/grammars/vyper.json +++ b/packages/tm-grammars/grammars/vyper.json @@ -121,7 +121,7 @@ "builtin-types": { "patterns": [ { - "match": "(?<!\\.)\\b(bool|bytearray|bytes|classmethod|complex|dict|float|frozenset|int|list|object|property|set|slice|staticmethod|str|tuple|type(?#Although'super'isnotatype,it'srelatedtotypes,andisspecialenoughtobehighlighteddifferentlyfromotherbuilt-ins)|super)\\b", + "match": "(?<!\\.)\\b(bool|bytearray|bytes|classmethod|complex|dict|float|frozenset|int|list|object|property|set|slice|staticmethod|str|tuple|type|super)\\b", "name": "support.type.python" }, { @@ -133,7 +133,7 @@ "name": "support.type.keywords.vyper" }, { - "match": "(?<!\\.)\\b(ZERO_ADDRESS|EMPTY_BYTES32|MAX_INT128|MIN_INT128|MAX_DECIMAL|MIN_DECIMAL|MIN_UINT256|MAX_UINT256(?#Although'super'isnotatype,it'srelatedtotypes,andisspecialenoughtobehighlighteddifferentlyfromotherbuilt-ins)|super)\\b", + "match": "(?<!\\.)\\b(ZERO_ADDRESS|EMPTY_BYTES32|MAX_INT128|MIN_INT128|MAX_DECIMAL|MIN_DECIMAL|MIN_UINT256|MAX_UINT256|super)\\b", "name": "support.type.constant.vyper" }, { @@ -275,7 +275,7 @@ "comments": { "patterns": [ { - "begin": "(?:\\#\\s*(type:)\\s*+(?#wewant`\\s*+`whichispossessivequantifiersincewedonotactuallywanttobacktrackwhenmatchingwhitespacehere)(?!$|\\#))", + "begin": "(?:\\#\\s*(type:)\\s*+(?!$|\\#))", "beginCaptures": { "0": { "name": "meta.typehint.comment.python" @@ -572,7 +572,7 @@ "name": "keyword.control.flow.python" } }, - "match": "(?:(?:^|\\G)\\s*(?#'\\G'isnecessaryforST)((?:>>>|\\.\\.\\.)\\s)(?=\\s*\\S))" + "match": "(?:(?:^|\\G)\\s*((?:>>>|\\.\\.\\.)\\s)(?=\\s*\\S))" }, "docstring-statement": { "begin": "^(?=\\s*[rR]?(\\'\\'\\'|\\\"\\\"\\\"|\\'|\\\"))", @@ -587,7 +587,7 @@ "double-one-regexp-character-set": { "patterns": [ { - "match": "\\[\\s\\^?\\s\\](?!.*?\\])" + "match": "\\[\\^?\\](?!.*?\\])" }, { "begin": "(\\[)(\\^)?(\\])?", @@ -888,7 +888,7 @@ "double-three-regexp-character-set": { "patterns": [ { - "match": "\\[\\s\\^?\\s\\](?!.*?\\])" + "match": "\\[\\^?\\](?!.*?\\])" }, { "begin": "(\\[)(\\^)?(\\])?", @@ -1559,7 +1559,7 @@ ] }, "fstring-multi-core": { - "match": "(.+?)((?#.*and.*?inmulti-linematchneedspecialhandlingofnewlinesotherwiseSublimeTextandAtomwillmatchslightlydifferently.Theguardfornewlineshastobeseparatefromthelookaheadbecauseofspecial$matchingrule.)($\\n?)|(?=[\\\\\\}\\{]|'''|\"\"\"))(?#duetohowmultilineregexpsarematchedweneedaspecialcaseformatchinganewlinecharacter)|\\n", + "match": "(.+?)(($\\n?)|(?=[\\\\\\}\\{]|'''|\"\"\"))|\\n", "name": "string.interpolated.python string.quoted.multi.python" }, "fstring-normf-quoted-multi-line": { @@ -1649,7 +1649,7 @@ ] }, "fstring-raw-multi-core": { - "match": "(.+?)((?#.*and.*?inmulti-linematchneedspecialhandlingofnewlinesotherwiseSublimeTextandAtomwillmatchslightlydifferently.Theguardfornewlineshastobeseparatefromthelookaheadbecauseofspecial$matchingrule.)($\\n?)|(?=[\\\\\\}\\{]|'''|\"\"\"))(?#duetohowmultilineregexpsarematchedweneedaspecialcaseformatchinganewlinecharacter)|\\n", + "match": "(.+?)(($\\n?)|(?=[\\\\\\}\\{]|'''|\"\"\"))|\\n", "name": "string.interpolated.python string.quoted.raw.multi.python" }, "fstring-raw-quoted-multi-line": { @@ -1723,7 +1723,7 @@ ] }, "fstring-raw-single-core": { - "match": "(.+?)((?#.*and.*?inmulti-linematchneedspecialhandlingofnewlinesotherwiseSublimeTextandAtomwillmatchslightlydifferently.Theguardfornewlineshastobeseparatefromthelookaheadbecauseofspecial$matchingrule.)($\\n?)|(?=[\\\\\\}\\{]|(['\"])|((?<!\\\\)\\n)))(?#duetohowmultilineregexpsarematchedweneedaspecialcaseformatchinganewlinecharacter)|\\n", + "match": "(.+?)(($\\n?)|(?=[\\\\\\}\\{]|(['\"])|((?<!\\\\)\\n)))|\\n", "name": "string.interpolated.python string.quoted.raw.single.python" }, "fstring-single-brace": { @@ -1750,7 +1750,7 @@ ] }, "fstring-single-core": { - "match": "(.+?)((?#.*and.*?inmulti-linematchneedspecialhandlingofnewlinesotherwiseSublimeTextandAtomwillmatchslightlydifferently.Theguardfornewlineshastobeseparatefromthelookaheadbecauseofspecial$matchingrule.)($\\n?)|(?=[\\\\\\}\\{]|(['\"])|((?<!\\\\)\\n)))(?#duetohowmultilineregexpsarematchedweneedaspecialcaseformatchinganewlinecharacter)|\\n", + "match": "(.+?)(($\\n?)|(?=[\\\\\\}\\{]|(['\"])|((?<!\\\\)\\n)))|\\n", "name": "string.interpolated.python string.quoted.single.python" }, "fstring-terminator-multi": { @@ -1772,7 +1772,7 @@ "name": "storage.type.format.python" } }, - "match": "((?:=?)(?:![rsa])?)(:\\w?[<>=^]?[-+\\s]?\\#?\\d*,?(\\.\\d+)?[bcdeEfFgGnosxX%]?)(?=})" + "match": "((?:=?)(?:![rsa])?)(:\\w?[<>=^]?[-+ ]?\\#?\\d*,?(\\.\\d+)?[bcdeEfFgGnosxX%]?)(?=})" }, { "include": "#fstring-terminator-multi-tail" @@ -1850,7 +1850,7 @@ "name": "storage.type.format.python" } }, - "match": "((?:=?)(?:![rsa])?)(:\\w?[<>=^]?[-+\\s]?\\#?\\d*,?(\\.\\d+)?[bcdeEfFgGnosxX%]?)(?=})" + "match": "((?:=?)(?:![rsa])?)(:\\w?[<>=^]?[-+ ]?\\#?\\d*,?(\\.\\d+)?[bcdeEfFgGnosxX%]?)(?=})" }, { "include": "#fstring-terminator-single-tail" @@ -2374,7 +2374,7 @@ "name": "punctuation.separator.continuation.line.python" } }, - "end": "(?=^\\s*$)|(?!(\\s*[rR]?(\\'\\'\\'|\\\"\\\"\\\"|\\'|\\\"))|(\\G$)(?#'\\G'isnecessaryforST))", + "end": "(?=^\\s*$)|(?!(\\s*[rR]?(\\'\\'\\'|\\\"\\\"\\\"|\\'|\\\"))|(\\G$))", "patterns": [ { "include": "#regexp" @@ -2656,7 +2656,7 @@ "name": "keyword.operator.assignment.python" } }, - "match": "\\b(?<!\\.)(?:(and|or|not|in|is)(?#1)|(for|if|else|await|(?:yield(?:\\s+from)?))(?#2))(?!\\s*:)\\b|(<<|>>|&|\\||\\^|~)(?#3)|(\\*\\*|\\*|\\+|-|%|//|/|@)(?#4)|(!=|==|>=|<=|<|>)(?#5)|(:=)(?#6)" + "match": "\\b(?<!\\.)(?:(and|or|not|in|is)|(for|if|else|await|(?:yield(?:\\s+from)?)))(?!\\s*:)\\b|(<<|>>|&|\\||\\^|~)|(\\*\\*|\\*|\\+|-|%|//|/|@)|(!=|==|>=|<=|<|>)|(:=)" }, "parameter-special": { "captures": { @@ -3064,7 +3064,7 @@ "single-one-regexp-character-set": { "patterns": [ { - "match": "\\[\\s\\^?\\s\\](?!.*?\\])" + "match": "\\[\\^?\\](?!.*?\\])" }, { "begin": "(\\[)(\\^)?(\\])?", @@ -3365,7 +3365,7 @@ "single-three-regexp-character-set": { "patterns": [ { - "match": "\\[\\s\\^?\\s\\](?!.*?\\])" + "match": "\\[\\^?\\](?!.*?\\])" }, { "begin": "(\\[)(\\^)?(\\])?", @@ -3922,7 +3922,7 @@ "name": "storage.type.format.python" } }, - "match": "({{|}}|(?:{\\w*(\\.[A-Za-z_]\\w*|\\[[^\\]'\"]+\\])*(![rsa])?(:\\w?[<>=^]?[-+\\s]?\\#?\\d*,?(\\.\\d+)?[bcdeEfFgGnosxX%]?)?}))", + "match": "({{|}}|(?:{\\w*(\\.[A-Za-z_]\\w*|\\[[^\\]'\"]+\\])*(![rsa])?(:\\w?[<>=^]?[-+ ]?\\#?\\d*,?(\\.\\d+)?[bcdeEfFgGnosxX%]?)?}))", "name": "meta.format.brace.python" }, { @@ -3964,7 +3964,7 @@ "name": "constant.character.format.placeholder.other.python" } }, - "match": "(%(\\([\\w\\s]*\\))?[-+#0\\s]*(\\d+|\\*)?(\\.(\\d+|\\*))?([hlL])?[diouxXeEfFgGcrsab%])", + "match": "(%(\\([\\w\\s]*\\))?[-+#0 ]*(\\d+|\\*)?(\\.(\\d+|\\*))?([hlL])?[diouxXeEfFgGcrsab%])", "name": "meta.format.percent.python" }, "string-line-continuation": { diff --git a/packages/tm-grammars/grammars/yaml.json b/packages/tm-grammars/grammars/yaml.json index 414f6a9..4c4be05 100644 --- a/packages/tm-grammars/grammars/yaml.json +++ b/packages/tm-grammars/grammars/yaml.json @@ -216,7 +216,7 @@ "name": "support.type.tag-prefix.yaml" } }, - "match": "\\G(TAG)(?:[\\s\\t]+((?:!(?:[0-9A-Za-z\\-]*!)?))(?:[\\s\\t]+(!(?:%[0-9A-Fa-f]{2}|[0-9A-Za-z\\-#;/?:@&=+$,_.!~*'()\\[\\]])*|(?![,!\\[\\]{}])(?:%[0-9A-Fa-f]{2}|[0-9A-Za-z\\-#;/?:@&=+$,_.!~*'()\\[\\]])+))?)?" + "match": "\\G(TAG)(?:[ \\t]+((?:!(?:[0-9A-Za-z\\-]*!)?))(?:[ \\t]+(!(?:%[0-9A-Fa-f]{2}|[0-9A-Za-z\\-#;/?:@&=+$,_.!~*'()\\[\\]])*|(?![,!\\[\\]{}])(?:%[0-9A-Fa-f]{2}|[0-9A-Za-z\\-#;/?:@&=+$,_.!~*'()\\[\\]])+))?)?" }, { "captures": { @@ -230,7 +230,7 @@ "name": "string.unquoted.directive-parameter.yaml" } }, - "match": "\\G(\\w+)(?:[\\s\\t]+(\\w+)(?:[\\s\\t]+(\\w+))?)?" + "match": "\\G(\\w+)(?:[ \\t]+(\\w+)(?:[ \\t]+(\\w+))?)?" }, { "match": "\\S+", @@ -462,7 +462,7 @@ "name": "constant.language.merge.yaml" } }, - "match": "(?:(null|Null|NULL|~)|(y|Y|yes|Yes|YES|n|N|no|No|NO|true|True|TRUE|false|False|FALSE|on|On|ON|off|Off|OFF)|((?:[-+]?0b[0-1_]+|[-+]?0[0-7_]+|[-+]?(?:0|[1-9][0-9_]*)|[-+]?0x[0-9a-fA-F_]+|[-+]?[1-9][0-9_]*(?::[0-5]?[0-9])+))|((?:[-+]?(?:[0-9][0-9_]*)?\\.[0-9.]*(?:[eE][-+][0-9]+)?|[-+]?[0-9][0-9_]*(?::[0-5]?[0-9])+\\.[0-9_]*|[-+]?\\.(?:inf|Inf|INF)|\\.(?:nan|NaN|NAN)))|((?:\\d{4}-\\d{2}-\\d{2}|\\d{4}-\\d{1,2}-\\d{1,2}(?:[Tt]|[\\s\\t]+)\\d{1,2}:\\d{2}:\\d{2}(?:\\.\\d*)?(?:(?:[\\s\\t]*)Z|[-+]\\d{1,2}(?::\\d{1,2})?)?))|(=)|(<<))(?:(?=\\s*$|\\s+\\#|\\s*:(\\s|$)|\\s*:[\\[\\]{},]|\\s*[\\[\\]{},]))" + "match": "(?:(null|Null|NULL|~)|(y|Y|yes|Yes|YES|n|N|no|No|NO|true|True|TRUE|false|False|FALSE|on|On|ON|off|Off|OFF)|((?:[-+]?0b[0-1_]+|[-+]?0[0-7_]+|[-+]?(?:0|[1-9][0-9_]*)|[-+]?0x[0-9a-fA-F_]+|[-+]?[1-9][0-9_]*(?::[0-5]?[0-9])+))|((?:[-+]?(?:[0-9][0-9_]*)?\\.[0-9.]*(?:[eE][-+][0-9]+)?|[-+]?[0-9][0-9_]*(?::[0-5]?[0-9])+\\.[0-9_]*|[-+]?\\.(?:inf|Inf|INF)|\\.(?:nan|NaN|NAN)))|((?:\\d{4}-\\d{2}-\\d{2}|\\d{4}-\\d{1,2}-\\d{1,2}(?:[Tt]|[ \\t]+)\\d{1,2}:\\d{2}:\\d{2}(?:\\.\\d*)?(?:(?:[ \\t]*)Z|[-+]\\d{1,2}(?::\\d{1,2})?)?))|(=)|(<<))(?:(?=\\s*$|\\s+\\#|\\s*:(\\s|$)|\\s*:[\\[\\]{},]|\\s*[\\[\\]{},]))" } ] }, @@ -504,7 +504,7 @@ "name": "constant.language.merge.yaml" } }, - "match": "(?:(null|Null|NULL|~)|(y|Y|yes|Yes|YES|n|N|no|No|NO|true|True|TRUE|false|False|FALSE|on|On|ON|off|Off|OFF)|((?:[-+]?0b[0-1_]+|[-+]?0[0-7_]+|[-+]?(?:0|[1-9][0-9_]*)|[-+]?0x[0-9a-fA-F_]+|[-+]?[1-9][0-9_]*(?::[0-5]?[0-9])+))|((?:[-+]?(?:[0-9][0-9_]*)?\\.[0-9.]*(?:[eE][-+][0-9]+)?|[-+]?[0-9][0-9_]*(?::[0-5]?[0-9])+\\.[0-9_]*|[-+]?\\.(?:inf|Inf|INF)|\\.(?:nan|NaN|NAN)))|((?:\\d{4}-\\d{2}-\\d{2}|\\d{4}-\\d{1,2}-\\d{1,2}(?:[Tt]|[\\s\\t]+)\\d{1,2}:\\d{2}:\\d{2}(?:\\.\\d*)?(?:(?:[\\s\\t]*)Z|[-+]\\d{1,2}(?::\\d{1,2})?)?))|(=)|(<<))(?:(?=\\s*$|\\s+\\#|\\s*:(\\s|$)))" + "match": "(?:(null|Null|NULL|~)|(y|Y|yes|Yes|YES|n|N|no|No|NO|true|True|TRUE|false|False|FALSE|on|On|ON|off|Off|OFF)|((?:[-+]?0b[0-1_]+|[-+]?0[0-7_]+|[-+]?(?:0|[1-9][0-9_]*)|[-+]?0x[0-9a-fA-F_]+|[-+]?[1-9][0-9_]*(?::[0-5]?[0-9])+))|((?:[-+]?(?:[0-9][0-9_]*)?\\.[0-9.]*(?:[eE][-+][0-9]+)?|[-+]?[0-9][0-9_]*(?::[0-5]?[0-9])+\\.[0-9_]*|[-+]?\\.(?:inf|Inf|INF)|\\.(?:nan|NaN|NAN)))|((?:\\d{4}-\\d{2}-\\d{2}|\\d{4}-\\d{1,2}-\\d{1,2}(?:[Tt]|[ \\t]+)\\d{1,2}:\\d{2}:\\d{2}(?:\\.\\d*)?(?:(?:[ \\t]*)Z|[-+]\\d{1,2}(?::\\d{1,2})?)?))|(=)|(<<))(?:(?=\\s*$|\\s+\\#|\\s*:(\\s|$)))" } ] }, @@ -603,7 +603,7 @@ "match": "\\G((&))([^\\s\\[\\]/{/},]+)(\\S+)?" }, { - "match": "\\G(?:!<(?:%[0-9A-Fa-f]{2}|[0-9A-Za-z\\-#;/?:@&=+$,_.!~*'()\\[\\]])+>|(?:!(?:[0-9A-Za-z\\-]*!)?)(?:%[0-9A-Fa-f]{2}|[0-9A-Za-z\\-#;/?:@&=+$_.~*'()])+|!)(?=\\|\\t|$)", + "match": "\\G(?:!<(?:%[0-9A-Fa-f]{2}|[0-9A-Za-z\\-#;/?:@&=+$,_.!~*'()\\[\\]])+>|(?:!(?:[0-9A-Za-z\\-]*!)?)(?:%[0-9A-Fa-f]{2}|[0-9A-Za-z\\-#;/?:@&=+$_.~*'()])+|!)(?=\\ |\\t|$)", "name": "storage.type.tag-handle.yaml" }, { diff --git a/packages/tm-grammars/index.js b/packages/tm-grammars/index.js index f344eb4..851f5fe 100644 --- a/packages/tm-grammars/index.js +++ b/packages/tm-grammars/index.js @@ -5,7 +5,7 @@ export const grammars = [ { - byteSize: 17223, + byteSize: 17305, displayName: 'ABAP', lastUpdate: '2023-07-29T13:25:39Z', name: 'abap', @@ -60,7 +60,7 @@ export const grammars = [ source: 'https://github.com/onivim/vscode-exthost/blob/cfc2a2212de9ea10943af58ebd1817a5ad196463/extensions/html/syntaxes/html-derivative.tmLanguage.json', }, { - byteSize: 176953, + byteSize: 176950, categories: [ 'web', ], @@ -104,7 +104,7 @@ export const grammars = [ source: 'https://github.com/forcedotcom/apex-tmLanguage/blob/1d3c7097c8e50b4f4163c9e27b450fcd45f40a5e/grammars/apex.tmLanguage', }, { - byteSize: 25858, + byteSize: 23508, displayName: 'APL', embedded: [ 'html', @@ -120,7 +120,7 @@ export const grammars = [ source: 'https://github.com/kimmolinna/vscode-apl-language/blob/13541242d9ffae225e89ebba23f9abaa4c60697e/syntaxes/apl.tmLanguage.json', }, { - byteSize: 29418, + byteSize: 29556, categories: [ 'scripting', ], @@ -329,7 +329,7 @@ export const grammars = [ source: 'https://github.com/Azure/bicep/blob/9bbe7ae112fafe30b2ad67f2057640671a80069e/src/textmate/bicep.tmlanguage', }, { - byteSize: 102700, + byteSize: 104750, categories: [ 'web', 'markup', @@ -352,7 +352,7 @@ export const grammars = [ source: 'https://github.com/spatie/shiki-php/blob/e985c3ab6b13252ad4521b7edb8ff91a9da3dd46/languages/blade.tmLanguage.json', }, { - byteSize: 71114, + byteSize: 71112, categories: [ 'general', ], @@ -456,7 +456,7 @@ export const grammars = [ aliases: [ 'ql', ], - byteSize: 32631, + byteSize: 32604, displayName: 'CodeQL', lastUpdate: '2023-09-08T08:43:39Z', license: 'MIT', @@ -492,7 +492,7 @@ export const grammars = [ aliases: [ 'lisp', ], - byteSize: 24036, + byteSize: 26745, categories: [ 'general', 'lisp', @@ -524,7 +524,7 @@ export const grammars = [ aliases: [ 'c++', ], - byteSize: 420780, + byteSize: 420778, categories: [ 'general', ], @@ -581,7 +581,7 @@ export const grammars = [ source: 'https://github.com/microsoft/vscode/blob/ed4e6eda599f37bac9a11952403a6e63fd4f5a4d/extensions/csharp/syntaxes/csharp.tmLanguage.json', }, { - byteSize: 49245, + byteSize: 52461, categories: [ 'web', ], @@ -724,7 +724,7 @@ export const grammars = [ source: 'https://github.com/dotenv-org/dotenv-vscode/blob/e7e41baa5b23e01c1ff0567a4e596c24860e7def/syntaxes/dotenv.tmLanguage.json', }, { - byteSize: 10052, + byteSize: 10048, displayName: 'Dream Maker', lastUpdate: '2017-01-06T06:55:48Z', name: 'dream-maker', @@ -835,7 +835,7 @@ export const grammars = [ source: 'https://github.com/kongeor/vsc-fennel/blob/664148923d7bd72531120d0cba712c6dba6f698d/syntaxes/fennel.tmLanguage.json', }, { - byteSize: 5184, + byteSize: 5173, categories: [ 'scripting', ], @@ -936,7 +936,7 @@ export const grammars = [ source: 'https://github.com/godotengine/godot-vscode-plugin/blob/e7e2d0439dea0fb3a568378554c81e0a17348a84/syntaxes/GDResource.tmLanguage.json', }, { - byteSize: 18019, + byteSize: 17990, displayName: 'GDScript', lastUpdate: '2024-07-02T18:04:22Z', license: 'MIT', @@ -1028,7 +1028,7 @@ export const grammars = [ aliases: [ 'gjs', ], - byteSize: 19539, + byteSize: 19849, displayName: 'Glimmer JS', embedded: [ 'javascript', @@ -1048,7 +1048,7 @@ export const grammars = [ aliases: [ 'gts', ], - byteSize: 19539, + byteSize: 19849, displayName: 'Glimmer TS', embedded: [ 'typescript', @@ -1077,7 +1077,7 @@ export const grammars = [ source: 'https://github.com/polym0rph/GLSL.tmbundle/blob/6998d3bbd204e26746a5ca580cda4c650b9057b1/Syntaxes/GLSL.tmLanguage', }, { - byteSize: 16846, + byteSize: 14176, displayName: 'Gnuplot', lastUpdate: '2018-07-01T23:29:26Z', license: 'GPL-3.0', @@ -1125,7 +1125,7 @@ export const grammars = [ source: 'https://github.com/prisma-labs/vscode-graphql/blob/4569aef2364b42b6acd8188e4a6ca9b0ba3c6a1d/grammars/graphql.json', }, { - byteSize: 19066, + byteSize: 18998, categories: [ 'general', ], @@ -1139,7 +1139,7 @@ export const grammars = [ source: 'https://github.com/microsoft/vscode/blob/8fdf170a0850c1cc027382f31650aaf300d3ae2a/extensions/groovy/syntaxes/groovy.tmLanguage.json', }, { - byteSize: 82487, + byteSize: 82712, categories: [ 'general', ], @@ -1206,7 +1206,7 @@ export const grammars = [ aliases: [ 'hs', ], - byteSize: 56239, + byteSize: 40886, categories: [ 'general', ], @@ -1245,7 +1245,7 @@ export const grammars = [ source: 'https://github.com/hashicorp/syntax/blob/ab1d9da794f06ae91afa06a590727cbf836939b0/syntaxes/hcl.tmGrammar.json', }, { - byteSize: 12496, + byteSize: 12428, categories: [ 'data', ], @@ -1273,7 +1273,7 @@ export const grammars = [ source: 'https://github.com/microsoft/vscode/blob/efa12b2f49ec6ee84ed1e7bbd948808efec452f6/extensions/hlsl/syntaxes/hlsl.tmLanguage.json', }, { - byteSize: 58009, + byteSize: 59487, categories: [ 'web', 'markup', @@ -1362,7 +1362,7 @@ export const grammars = [ source: 'https://github.com/hylang/vscode-hy/blob/cc97e60245af508c5c81fe4cda51ac6bc9083082/syntaxes/hy.tmLanguage.json', }, { - byteSize: 49566, + byteSize: 50756, categories: [ 'web', ], @@ -1413,7 +1413,7 @@ export const grammars = [ aliases: [ 'js', ], - byteSize: 170096, + byteSize: 170093, categories: [ 'web', 'scripting', @@ -1480,7 +1480,7 @@ export const grammars = [ source: 'https://github.com/microsoft/vscode/blob/d6af4893ed9a3545163a4cb748fa5548bd1e51a5/extensions/json/syntaxes/JSON.tmLanguage.json', }, { - byteSize: 3431, + byteSize: 3397, categories: [ 'data', ], @@ -1549,7 +1549,7 @@ export const grammars = [ source: 'https://github.com/StoneCypher/sublime-jssm/blob/2be02a59d284229bbbfb3dc6c2bdcec9b2c263ef/jssm.tmLanguage', }, { - byteSize: 173078, + byteSize: 173075, categories: [ 'web', ], @@ -1770,7 +1770,7 @@ export const grammars = [ aliases: [ 'md', ], - byteSize: 53879, + byteSize: 53843, categories: [ 'web', 'markup', @@ -1862,7 +1862,7 @@ export const grammars = [ source: 'https://github.com/marko-js/marko-tmbundle/blob/dd3a0c39e656bedd276d3bcbdea92a2d627755c7/Syntaxes/marko.tmLanguage', }, { - byteSize: 19702, + byteSize: 19571, displayName: 'MATLAB', lastUpdate: '2020-02-01T01:40:30Z', name: 'matlab', @@ -1961,7 +1961,7 @@ export const grammars = [ source: 'https://github.com/bpruitt-goddard/vscode-mermaid-syntax-highlight/blob/8b62f487cb7a89afcd152febfbf47f5d4787657f/syntaxes/mermaid.tmLanguage.yaml', }, { - byteSize: 71805, + byteSize: 70390, displayName: 'Mojo', lastUpdate: '2024-03-18T01:05:25Z', license: 'MIT', @@ -2076,7 +2076,7 @@ export const grammars = [ aliases: [ 'objc', ], - byteSize: 105930, + byteSize: 105926, categories: [ 'general', ], @@ -2090,7 +2090,7 @@ export const grammars = [ source: 'https://github.com/microsoft/vscode/blob/bd1abe08c38bb5deccf65610f8f3c03d2338d20d/extensions/objective-c/syntaxes/objective-c.tmLanguage.json', }, { - byteSize: 172277, + byteSize: 172273, categories: [ 'general', ], @@ -2153,7 +2153,7 @@ export const grammars = [ source: 'https://github.com/microsoft/vscode/blob/e637ff1bf7f481134849625e982ec80df9b35bc8/extensions/perl/syntaxes/perl.tmLanguage.json', }, { - byteSize: 107586, + byteSize: 109590, categories: [ 'general', 'web', @@ -2217,7 +2217,7 @@ export const grammars = [ source: 'https://github.com/vuejs/vetur/blob/8ccae3ba50b65837d4cd4acc71a3b84cd3bee27c/syntaxes/vue-postcss.json', }, { - byteSize: 5649, + byteSize: 5648, displayName: 'PowerQuery', lastUpdate: '2019-04-24T13:39:36Z', license: 'MIT', @@ -2306,7 +2306,7 @@ export const grammars = [ source: 'https://github.com/microsoft/vscode/blob/6ac83c7c7dda9f27ca1fe9d98675253e010b75d1/extensions/pug/syntaxes/pug.tmLanguage.json', }, { - byteSize: 11519, + byteSize: 11286, displayName: 'Puppet', lastUpdate: '2020-08-20T04:40:24Z', license: 'Apache-2.0', @@ -2331,7 +2331,7 @@ export const grammars = [ aliases: [ 'py', ], - byteSize: 72704, + byteSize: 71264, categories: [ 'general', ], @@ -2404,7 +2404,7 @@ export const grammars = [ source: 'https://github.com/microsoft/vscode/blob/fa22e9ac36d5d37ef096679927179091ba7f6966/extensions/r/syntaxes/r.tmLanguage.json', }, { - byteSize: 105388, + byteSize: 93597, categories: [ 'lisp', ], @@ -2467,7 +2467,7 @@ export const grammars = [ aliases: [ 'regex', ], - byteSize: 7803, + byteSize: 7797, displayName: 'RegExp', lastUpdate: '2020-02-16T01:06:09Z', license: 'MIT', @@ -2525,7 +2525,7 @@ export const grammars = [ aliases: [ 'rb', ], - byteSize: 36824, + byteSize: 36820, categories: [ 'general', ], @@ -2620,7 +2620,7 @@ export const grammars = [ source: 'https://github.com/sjhuangx/vscode-scheme/blob/4e21683666e1e2edfa21d040ecd427f628e7b5ff/syntaxes/scheme.tmLanguage', }, { - byteSize: 26668, + byteSize: 27314, categories: [ 'web', ], @@ -2762,7 +2762,7 @@ export const grammars = [ source: 'https://github.com/arcsector/vscode-splunk-search-syntax/blob/b1f68ff035950e6a98e0db4af1a338cb1c3c1858/syntaxes/splunk_search.tmLanguage', }, { - byteSize: 23388, + byteSize: 23699, categories: [ 'dsl', ], @@ -2802,7 +2802,7 @@ export const grammars = [ aliases: [ 'styl', ], - byteSize: 30839, + byteSize: 30830, categories: [ 'web', ], @@ -2843,7 +2843,7 @@ export const grammars = [ source: 'https://github.com/sveltejs/language-tools/blob/64d7b773adfb136b0f4b59e31d03eea7ada1d508/packages/svelte-vscode/syntaxes/svelte.tmLanguage.src.yaml', }, { - byteSize: 93875, + byteSize: 93438, categories: [ 'general', ], @@ -2857,7 +2857,7 @@ export const grammars = [ source: 'https://github.com/microsoft/vscode/blob/ed4e6eda599f37bac9a11952403a6e63fd4f5a4d/extensions/swift/syntaxes/swift.tmLanguage.json', }, { - byteSize: 25177, + byteSize: 25181, displayName: 'SystemVerilog', lastUpdate: '2024-04-19T11:09:15Z', license: 'MIT', @@ -2950,7 +2950,7 @@ export const grammars = [ source: 'https://github.com/microsoft/vscode/blob/b8e3432a0b7dd11ffd0c832fad6a6c51e809013c/extensions/latex/syntaxes/TeX.tmLanguage.json', }, { - byteSize: 6292, + byteSize: 6231, categories: [ 'data', ], @@ -2996,7 +2996,7 @@ export const grammars = [ source: 'https://github.com/mechatroner/vscode_rainbow_csv/blob/00d4c947f1bbe6a4a73599bd97fb31bdfbe262f3/syntaxes/tsv.tmLanguage.json', }, { - byteSize: 170831, + byteSize: 170828, categories: [ 'web', ], @@ -3019,7 +3019,7 @@ export const grammars = [ source: 'https://github.com/stardog-union/stardog-vsc/blob/3f1364b08bdbf4b4d77f123682db7d2b708b2f6e/stardog-rdf-grammars/syntaxes/turtle.tmLanguage.json', }, { - byteSize: 21079, + byteSize: 21434, displayName: 'Twig', embedded: [ 'css', @@ -3041,7 +3041,7 @@ export const grammars = [ aliases: [ 'ts', ], - byteSize: 176942, + byteSize: 176939, categories: [ 'web', 'scripting', @@ -3223,7 +3223,7 @@ export const grammars = [ aliases: [ 'vy', ], - byteSize: 77404, + byteSize: 75853, displayName: 'Vyper', lastUpdate: '2024-07-02T07:02:19Z', license: 'MIT', @@ -3397,7 +3397,7 @@ export const grammars = [ aliases: [ 'yml', ], - byteSize: 10229, + byteSize: 10214, categories: [ 'data', ], diff --git a/scripts/grammars/cleanup.ts b/scripts/grammars/cleanup.ts index 90717d8..e8b4621 100644 --- a/scripts/grammars/cleanup.ts +++ b/scripts/grammars/cleanup.ts @@ -29,7 +29,6 @@ export async function cleanupGrammar(lang: any, verify = true) { // (_, key, value) => console.log('lang key removal', key, '|', value), ) - const reGrammarComment = /(\s|^)#.*$/ function cleanupMatch(regex: string) { // const original = regex @@ -38,23 +37,6 @@ export async function cleanupGrammar(lang: any, verify = true) { if (lang.name === 'shellscript') regex = regex.replace(/\[\^ \t\n/g, '[^ \\t\\n') - const lines = regex.split(/\n/g) - - if (lines.length !== 1) { - regex = lines - .map(i => i.replace(reGrammarComment, '').trim()) - .join('\n') - } - - if (regex.startsWith('(?x)')) { - regex = regex - .slice(4) - .replace(/\n/g, '') - .replace(/\[([^\]]+)\]/g, _ => _.replace(/\s/g, '\\s')) - .replace(/\s+/g, '') - .replace(/\(\?x:/g, '(?:') - } - regex = regexpReprint(regex) // if (original !== regex) { diff --git a/scripts/grammars/reprint.test.ts b/scripts/grammars/reprint.test.ts index dc5a6d4..1db0825 100644 --- a/scripts/grammars/reprint.test.ts +++ b/scripts/grammars/reprint.test.ts @@ -1,8 +1,6 @@ import { expect, it } from 'vitest' import { regexpReprint } from './reprint' -const input = '((?<![_$[:alnum:])\\]]|\\+\\+|--|}|\\*\\/)|((?<=^return|[^\\._$[:alnum:]]return|^case|[^\\._$[:alnum:]]case))\\s*)\\/(?![\\/*])(?=(?:[^\\/\\\\\\[]|\\\\.|\\[([^\\]\\\\]|\\\\.)*\\])+\\/([dgimsuy]+|(?![\\/\\*])|(?=\\/\\*))(?!\\s*[a-zA-Z0-9_$]))' - it('reprint', () => { expect(regexpReprint('[:alnum:]')) .toMatchInlineSnapshot(`"[0-9A-Za-z]"`) @@ -10,6 +8,27 @@ it('reprint', () => { expect(regexpReprint('[:^alnum:]')) .toMatchInlineSnapshot(`"[^0-9A-Za-z]"`) - expect(regexpReprint(input)) + expect(regexpReprint('((?<![_$[:alnum:])\\]]|\\+\\+|--|}|\\*\\/)|((?<=^return|[^\\._$[:alnum:]]return|^case|[^\\._$[:alnum:]]case))\\s*)\\/(?![\\/*])(?=(?:[^\\/\\\\\\[]|\\\\.|\\[([^\\]\\\\]|\\\\.)*\\])+\\/([dgimsuy]+|(?![\\/\\*])|(?=\\/\\*))(?!\\s*[a-zA-Z0-9_$]))')) .toMatchInlineSnapshot(`"((?<![_$0-9A-Za-z)\\]]|\\+\\+|--|}|\\*\\/)|((?<=^return|[^\\._$0-9A-Za-z]return|^case|[^\\._$0-9A-Za-z]case))\\s*)\\/(?![\\/*])(?=(?:[^\\/\\\\\\[]|\\\\.|\\[([^\\]\\\\]|\\\\.)*\\])+\\/([dgimsuy]+|(?![\\/\\*])|(?=\\/\\*))(?!\\s*[a-zA-Z0-9_$]))"`) + + expect(regexpReprint('(?x)\n (?:\n \\# \\s* (type:)\n \\s*+ (?# we want `\\s*+` which is possessive quantifier since\n we do not actually want to backtrack when matching\n whitespace here)\n (?! $ | \\#)\n )\n')) + .toMatchInlineSnapshot(`"(?:\\#\\s*(type:)\\s*+(?!$|\\#))"`) + + expect(regexpReprint('^(?x)\n\t\t\t\t\t\t\\s*(to|on)\\s+ \t\t\t\t\t# "on" or "to"\n\t\t\t\t\t\t(\\w+)\t\t\t\t\t\t\t# function name\n\t\t\t\t\t\t(?=\\s*(--.*?)?$)\t\t\t\t# nothing else\n\t\t\t\t\t')) + .toMatchInlineSnapshot(`"^\\s*(to|on)\\s+(\\w+)(?=\\s*(--.*?)?$)"`) + + expect(regexpReprint('(?x)\n (?x:\n (null|Null|NULL|~)\n | (y|Y|yes|Yes|YES|n|N|no|No|NO|true|True|TRUE|false|False|FALSE|on|On|ON|off|Off|OFF)\n | (\n (?:\n [-+]? 0b [0-1_]+ # (base 2)\n | [-+]? 0 [0-7_]+ # (base 8)\n | [-+]? (?: 0|[1-9][0-9_]*) # (base 10)\n | [-+]? 0x [0-9a-fA-F_]+ # (base 16)\n | [-+]? [1-9] [0-9_]* (?: :[0-5]?[0-9])+ # (base 60)\n )\n )\n | (\n (?x:\n [-+]? (?: [0-9] [0-9_]*)? \\. [0-9.]* (?: [eE] [-+] [0-9]+)? # (base 10)\n | [-+]? [0-9] [0-9_]* (?: :[0-5]?[0-9])+ \\. [0-9_]* # (base 60)\n | [-+]? \\. (?: inf|Inf|INF) # (infinity)\n | \\. (?: nan|NaN|NAN) # (not a number)\n )\n )\n | (\n (?x:\n \\d{4} - \\d{2} - \\d{2} # (y-m-d)\n | \\d{4} # (year)\n - \\d{1,2} # (month)\n - \\d{1,2} # (day)\n (?: [Tt] | [ \\t]+) \\d{1,2} # (hour)\n : \\d{2} # (minute)\n : \\d{2} # (second)\n (?: \\.\\d*)? # (fraction)\n (?:\n (?:[ \\t]*) Z\n | [-+] \\d{1,2} (?: :\\d{1,2})?\n )? # (time zone)\n )\n )\n | (=)\n | (<<)\n )\n (?:\n (?=\n \\s* $\n | \\s+ \\#\n | \\s* : (\\s|$)\n | \\s* : [\\[\\]{},]\n | \\s* [\\[\\]{},]\n )\n )\n ')) + .toMatchInlineSnapshot(`"(?:(null|Null|NULL|~)|(y|Y|yes|Yes|YES|n|N|no|No|NO|true|True|TRUE|false|False|FALSE|on|On|ON|off|Off|OFF)|((?:[-+]?0b[0-1_]+|[-+]?0[0-7_]+|[-+]?(?:0|[1-9][0-9_]*)|[-+]?0x[0-9a-fA-F_]+|[-+]?[1-9][0-9_]*(?::[0-5]?[0-9])+))|((?:[-+]?(?:[0-9][0-9_]*)?\\.[0-9.]*(?:[eE][-+][0-9]+)?|[-+]?[0-9][0-9_]*(?::[0-5]?[0-9])+\\.[0-9_]*|[-+]?\\.(?:inf|Inf|INF)|\\.(?:nan|NaN|NAN)))|((?:\\d{4}-\\d{2}-\\d{2}|\\d{4}-\\d{1,2}-\\d{1,2}(?:[Tt]|[ \\t]+)\\d{1,2}:\\d{2}:\\d{2}(?:\\.\\d*)?(?:(?:[ \\t]*)Z|[-+]\\d{1,2}(?::\\d{1,2})?)?))|(=)|(<<))(?:(?=\\s*$|\\s+\\#|\\s*:(\\s|$)|\\s*:[\\[\\]{},]|\\s*[\\[\\]{},]))"`) + + expect(regexpReprint('(?x) (?:\n (?<![_$[:alnum:]])(?:(?<=\\.\\.\\.)|(?<!\\.))(\\basync)\n)? ((?<![})!\\]])\\s*\n (?=\n # sure shot arrow functions even if => is on new line\n(\n (<\\s*(((const\\s+)?[_$[:alpha:]])|(\\{([^\\{\\}]|(\\{([^\\{\\}]|\\{[^\\{\\}]*\\})*\\}))*\\})|(\\(([^\\(\\)]|(\\(([^\\(\\)]|\\([^\\(\\)]*\\))*\\)))*\\))|(\\[([^\\[\\]]|(\\[([^\\[\\]]|\\[[^\\[\\]]*\\])*\\]))*\\]))([^=<>]|=[^<]|\\<\\s*(((const\\s+)?[_$[:alpha:]])|(\\{([^\\{\\}]|(\\{([^\\{\\}]|\\{[^\\{\\}]*\\})*\\}))*\\})|(\\(([^\\(\\)]|(\\(([^\\(\\)]|\\([^\\(\\)]*\\))*\\)))*\\))|(\\[([^\\[\\]]|(\\[([^\\[\\]]|\\[[^\\[\\]]*\\])*\\]))*\\]))([^=<>]|=[^<]|\\<\\s*(((const\\s+)?[_$[:alpha:]])|(\\{([^\\{\\}]|(\\{([^\\{\\}]|\\{[^\\{\\}]*\\})*\\}))*\\})|(\\(([^\\(\\)]|(\\(([^\\(\\)]|\\([^\\(\\)]*\\))*\\)))*\\))|(\\[([^\\[\\]]|(\\[([^\\[\\]]|\\[[^\\[\\]]*\\])*\\]))*\\]))([^=<>]|=[^<])*\\>)*\\>)*>\\s*)?\n [(]\\s*(\\/\\*([^\\*]|(\\*[^\\/]))*\\*\\/\\s*)*\n (\n ([)]\\s*:) | # ():\n ((\\.\\.\\.\\s*)?[_$[:alpha:]][_$[:alnum:]]*\\s*:) # [(]param: | [(]...param:\n )\n) |\n(\n [<]\\s*[_$[:alpha:]][_$[:alnum:]]*\\s+extends\\s*[^=>] # < typeparam extends\n) |\n# arrow function possible to detect only with => on same line\n(\n (<\\s*(((const\\s+)?[_$[:alpha:]])|(\\{([^\\{\\}]|(\\{([^\\{\\}]|\\{[^\\{\\}]*\\})*\\}))*\\})|(\\(([^\\(\\)]|(\\(([^\\(\\)]|\\([^\\(\\)]*\\))*\\)))*\\))|(\\[([^\\[\\]]|(\\[([^\\[\\]]|\\[[^\\[\\]]*\\])*\\]))*\\]))([^=<>]|=[^<]|\\<\\s*(((const\\s+)?[_$[:alpha:]])|(\\{([^\\{\\}]|(\\{([^\\{\\}]|\\{[^\\{\\}]*\\})*\\}))*\\})|(\\(([^\\(\\)]|(\\(([^\\(\\)]|\\([^\\(\\)]*\\))*\\)))*\\))|(\\[([^\\[\\]]|(\\[([^\\[\\]]|\\[[^\\[\\]]*\\])*\\]))*\\]))([^=<>]|=[^<]|\\<\\s*(((const\\s+)?[_$[:alpha:]])|(\\{([^\\{\\}]|(\\{([^\\{\\}]|\\{[^\\{\\}]*\\})*\\}))*\\})|(\\(([^\\(\\)]|(\\(([^\\(\\)]|\\([^\\(\\)]*\\))*\\)))*\\))|(\\[([^\\[\\]]|(\\[([^\\[\\]]|\\[[^\\[\\]]*\\])*\\]))*\\]))([^=<>]|=[^<])*\\>)*\\>)*>\\s*)? # typeparameters\n \\(\\s*(\\/\\*([^\\*]|(\\*[^\\/]))*\\*\\/\\s*)*(([_$[:alpha:]]|(\\{([^\\{\\}]|(\\{([^\\{\\}]|\\{[^\\{\\}]*\\})*\\}))*\\})|(\\[([^\\[\\]]|(\\[([^\\[\\]]|\\[[^\\[\\]]*\\])*\\]))*\\])|(\\.\\.\\.\\s*[_$[:alpha:]]))([^()\\\'\\"\\`]|(\\(([^\\(\\)]|(\\(([^\\(\\)]|\\([^\\(\\)]*\\))*\\)))*\\))|(\\\'([^\\\'\\\\]|\\\\.)*\\\')|(\\"([^\\"\\\\]|\\\\.)*\\")|(\\`([^\\`\\\\]|\\\\.)*\\`))*)?\\) # parameters\n (\\s*:\\s*([^<>\\(\\)\\{\\}]|\\<([^<>]|\\<([^<>]|\\<[^<>]+\\>)+\\>)+\\>|\\([^\\(\\)]+\\)|\\{[^\\{\\}]+\\})+)? # return type\n \\s*=> # arrow operator\n)\n )\n)')) + .toMatchInlineSnapshot(`"(?:(?<![_$0-9A-Za-z])(?:(?<=\\.\\.\\.)|(?<!\\.))(\\basync))?((?<![})!\\]])\\s*(?=((<\\s*(((const\\s+)?[_$A-Za-z])|(\\{([^\\{\\}]|(\\{([^\\{\\}]|\\{[^\\{\\}]*\\})*\\}))*\\})|(\\(([^\\(\\)]|(\\(([^\\(\\)]|\\([^\\(\\)]*\\))*\\)))*\\))|(\\[([^\\[\\]]|(\\[([^\\[\\]]|\\[[^\\[\\]]*\\])*\\]))*\\]))([^=<>]|=[^<]|\\<\\s*(((const\\s+)?[_$A-Za-z])|(\\{([^\\{\\}]|(\\{([^\\{\\}]|\\{[^\\{\\}]*\\})*\\}))*\\})|(\\(([^\\(\\)]|(\\(([^\\(\\)]|\\([^\\(\\)]*\\))*\\)))*\\))|(\\[([^\\[\\]]|(\\[([^\\[\\]]|\\[[^\\[\\]]*\\])*\\]))*\\]))([^=<>]|=[^<]|\\<\\s*(((const\\s+)?[_$A-Za-z])|(\\{([^\\{\\}]|(\\{([^\\{\\}]|\\{[^\\{\\}]*\\})*\\}))*\\})|(\\(([^\\(\\)]|(\\(([^\\(\\)]|\\([^\\(\\)]*\\))*\\)))*\\))|(\\[([^\\[\\]]|(\\[([^\\[\\]]|\\[[^\\[\\]]*\\])*\\]))*\\]))([^=<>]|=[^<])*\\>)*\\>)*>\\s*)?[(]\\s*(\\/\\*([^\\*]|(\\*[^\\/]))*\\*\\/\\s*)*(([)]\\s*:)|((\\.\\.\\.\\s*)?[_$A-Za-z][_$0-9A-Za-z]*\\s*:)))|([<]\\s*[_$A-Za-z][_$0-9A-Za-z]*\\s+extends\\s*[^=>])|((<\\s*(((const\\s+)?[_$A-Za-z])|(\\{([^\\{\\}]|(\\{([^\\{\\}]|\\{[^\\{\\}]*\\})*\\}))*\\})|(\\(([^\\(\\)]|(\\(([^\\(\\)]|\\([^\\(\\)]*\\))*\\)))*\\))|(\\[([^\\[\\]]|(\\[([^\\[\\]]|\\[[^\\[\\]]*\\])*\\]))*\\]))([^=<>]|=[^<]|\\<\\s*(((const\\s+)?[_$A-Za-z])|(\\{([^\\{\\}]|(\\{([^\\{\\}]|\\{[^\\{\\}]*\\})*\\}))*\\})|(\\(([^\\(\\)]|(\\(([^\\(\\)]|\\([^\\(\\)]*\\))*\\)))*\\))|(\\[([^\\[\\]]|(\\[([^\\[\\]]|\\[[^\\[\\]]*\\])*\\]))*\\]))([^=<>]|=[^<]|\\<\\s*(((const\\s+)?[_$A-Za-z])|(\\{([^\\{\\}]|(\\{([^\\{\\}]|\\{[^\\{\\}]*\\})*\\}))*\\})|(\\(([^\\(\\)]|(\\(([^\\(\\)]|\\([^\\(\\)]*\\))*\\)))*\\))|(\\[([^\\[\\]]|(\\[([^\\[\\]]|\\[[^\\[\\]]*\\])*\\]))*\\]))([^=<>]|=[^<])*\\>)*\\>)*>\\s*)?\\(\\s*(\\/\\*([^\\*]|(\\*[^\\/]))*\\*\\/\\s*)*(([_$A-Za-z]|(\\{([^\\{\\}]|(\\{([^\\{\\}]|\\{[^\\{\\}]*\\})*\\}))*\\})|(\\[([^\\[\\]]|(\\[([^\\[\\]]|\\[[^\\[\\]]*\\])*\\]))*\\])|(\\.\\.\\.\\s*[_$A-Za-z]))([^()\\'\\"\\\`]|(\\(([^\\(\\)]|(\\(([^\\(\\)]|\\([^\\(\\)]*\\))*\\)))*\\))|(\\'([^\\'\\\\]|\\\\.)*\\')|(\\"([^\\"\\\\]|\\\\.)*\\")|(\\\`([^\\\`\\\\]|\\\\.)*\\\`))*)?\\)(\\s*:\\s*([^<>\\(\\)\\{\\}]|\\<([^<>]|\\<([^<>]|\\<[^<>]+\\>)+\\>)+\\>|\\([^\\(\\)]+\\)|\\{[^\\{\\}]+\\})+)?\\s*=>)))"`) + + expect(regexpReprint('(?x)\n((@)borrows) \\s+\n((?:[^@\\s*/]|\\*[^/])+) # <that namepath>\n\\s+ (as) \\s+ # as\n((?:[^@\\s*/]|\\*[^/])+) # <this namepath>')) + .toMatchInlineSnapshot(`"((@)borrows)\\s+((?:[^@\\s*/]|\\*[^/])+)\\s+(as)\\s+((?:[^@\\s*/]|\\*[^/])+)"`) + + expect(regexpReprint('\\b(?x:\n\t\t\t\t(array)\\s+ # 1: array keyword\n\t\t\t\t([A-Za-z_]\\w*)? # 2: var name\n\t\t\t\t# Note: Handle size decl and init expression inside.\n\t\t\t\t# TODO: Properly annotate brackets.\n\t\t\t)')) + .toMatchInlineSnapshot(`"\\b(?:(array)\\s+([A-Za-z_]\\w*)?)"`) + + expect(regexpReprint('(?x:\\G\\s*(?:\n (-webkit-[-A-Za-z]+|-moz-[-A-Za-z]+|-o-[-A-Za-z]+|-ms-[-A-Za-z]+|-khtml-[-A-Za-z]+|zoom|z-index|y|x|wrap|word-wrap|word-spacing|word-break|word|width|widows|white-space-collapse|white-space|white|weight|volume|voice-volume|voice-stress|voice-rate|voice-pitch-range|voice-pitch|voice-family|voice-duration|voice-balance|voice|visibility|vertical-align|variant|user-select|up|unicode-bidi|unicode-range|unicode|trim|transition-timing-function|transition-property|transition-duration|transition-delay|transition|transform|touch-action|top-width|top-style|top-right-radius|top-left-radius|top-color|top|timing-function|text-wrap|text-transform|text-shadow|text-replace|text-rendering|text-overflow|text-outline|text-justify|text-indent|text-height|text-emphasis|text-decoration|text-align-last|text-align|text|target-position|target-new|target-name|target|table-layout|tab-size|style-type|style-position|style-image|style|string-set|stretch|stress|stacking-strategy|stacking-shift|stacking-ruby|stacking|src|speed|speech-rate|speech|speak-punctuation|speak-numeral|speak-header|speak|span|spacing|space-collapse|space|sizing|size-adjust|size|shadow|respond-to|rule-width|rule-style|rule-color|rule|ruby-span|ruby-position|ruby-overhang|ruby-align|ruby|rows|rotation-point|rotation|role|right-width|right-style|right-color|right|richness|rest-before|rest-after|rest|resource|resize|reset|replace|repeat|rendering-intent|rate|radius|quotes|punctuation-trim|punctuation|property|profile|presentation-level|presentation|position|pointer-events|point|play-state|play-during|play-count|pitch-range|pitch|phonemes|pause-before|pause-after|pause|page-policy|page-break-inside|page-break-before|page-break-after|page|padding-top|padding-right|padding-left|padding-bottom|padding|pack|overhang|overflow-y|overflow-x|overflow-style|overflow|outline-width|outline-style|outline-offset|outline-color|outline|orphans|origin|orientation|orient|ordinal-group|order|opacity|offset|numeral|new|nav-up|nav-right|nav-left|nav-index|nav-down|nav|name|move-to|model|mix-blend-mode|min-width|min-height|min|max-width|max-height|max|marquee-style|marquee-speed|marquee-play-count|marquee-direction|marquee|marks|mark-before|mark-after|mark|margin-top|margin-right|margin-left|margin-bottom|margin|mask-image|list-style-type|list-style-position|list-style-image|list-style|list|lines|line-stacking-strategy|line-stacking-shift|line-stacking-ruby|line-stacking|line-height|line-break|level|letter-spacing|length|left-width|left-style|left-color|left|label|justify-content|justify|iteration-count|inline-box-align|initial-value|initial-size|initial-before-align|initial-before-adjust|initial-after-align|initial-after-adjust|index|indent|increment|image-resolution|image-orientation|image|icon|hyphens|hyphenate-resource|hyphenate-lines|hyphenate-character|hyphenate-before|hyphenate-after|hyphenate|height|header|hanging-punctuation|gap|grid|grid-area|grid-auto-columns|grid-auto-flow|grid-auto-rows|grid-column|grid-column-end|grid-column-start|grid-row|grid-row-end|grid-row-start|grid-template|grid-template-areas|grid-template-columns|grid-template-rows|row-gap|gap|font-kerning|font-language-override|font-weight|font-variant-caps|font-variant|font-style|font-synthesis|font-stretch|font-size-adjust|font-size|font-family|font|float-offset|float|flex-wrap|flex-shrink|flex-grow|flex-group|flex-flow|flex-direction|flex-basis|flex|fit-position|fit|fill|filter|family|empty-cells|emphasis|elevation|duration|drop-initial-value|drop-initial-size|drop-initial-before-align|drop-initial-before-adjust|drop-initial-after-align|drop-initial-after-adjust|drop|down|dominant-baseline|display-role|display-model|display|direction|delay|decoration-break|decoration|cursor|cue-before|cue-after|cue|crop|counter-reset|counter-increment|counter|count|content|columns|column-width|column-span|column-rule-width|column-rule-style|column-rule-color|column-rule|column-gap|column-fill|column-count|column-break-before|column-break-after|column|color-profile|color|collapse|clip|clear|character|caption-side|break-inside|break-before|break-after|break|box-sizing|box-shadow|box-pack|box-orient|box-ordinal-group|box-lines|box-flex-group|box-flex|box-direction|box-decoration-break|box-align|box|bottom-width|bottom-style|bottom-right-radius|bottom-left-radius|bottom-color|bottom|border-width|border-top-width|border-top-style|border-top-right-radius|border-top-left-radius|border-top-color|border-top|border-style|border-spacing|border-right-width|border-right-style|border-right-color|border-right|border-radius|border-length|border-left-width|border-left-style|border-left-color|border-left|border-image|border-color|border-collapse|border-bottom-width|border-bottom-style|border-bottom-right-radius|border-bottom-left-radius|border-bottom-color|border-bottom|border|bookmark-target|bookmark-level|bookmark-label|bookmark|binding|bidi|before|baseline-shift|baseline|balance|background-blend-mode|background-size|background-repeat|background-position|background-origin|background-image|background-color|background-clip|background-break|background-attachment|background|azimuth|attachment|appearance|animation-timing-function|animation-play-state|animation-name|animation-iteration-count|animation-duration|animation-direction|animation-delay|animation-fill-mode|animation|alignment-baseline|alignment-adjust|alignment|align-self|align-last|align-items|align-content|align|after|adjust|will-change)|\n (writing-mode|text-anchor|stroke-width|stroke-opacity|stroke-miterlimit|stroke-linejoin|stroke-linecap|stroke-dashoffset|stroke-dasharray|stroke|stop-opacity|stop-color|shape-rendering|marker-start|marker-mid|marker-end|lighting-color|kerning|image-rendering|glyph-orientation-vertical|glyph-orientation-horizontal|flood-opacity|flood-color|fill-rule|fill-opacity|fill|enable-background|color-rendering|color-interpolation-filters|color-interpolation|clip-rule|clip-path)|\n ([a-zA-Z_-][a-zA-Z0-9_-]*)\n)(?!([^\\S\\n]*&)|([^\\S\\n]*\\{))(?=:|([^\\S\\n]+[^\\s])))')) + .toMatchInlineSnapshot(`"(?:\\G\\s*(?:(-webkit-[-A-Za-z]+|-moz-[-A-Za-z]+|-o-[-A-Za-z]+|-ms-[-A-Za-z]+|-khtml-[-A-Za-z]+|zoom|z-index|y|x|wrap|word-wrap|word-spacing|word-break|word|width|widows|white-space-collapse|white-space|white|weight|volume|voice-volume|voice-stress|voice-rate|voice-pitch-range|voice-pitch|voice-family|voice-duration|voice-balance|voice|visibility|vertical-align|variant|user-select|up|unicode-bidi|unicode-range|unicode|trim|transition-timing-function|transition-property|transition-duration|transition-delay|transition|transform|touch-action|top-width|top-style|top-right-radius|top-left-radius|top-color|top|timing-function|text-wrap|text-transform|text-shadow|text-replace|text-rendering|text-overflow|text-outline|text-justify|text-indent|text-height|text-emphasis|text-decoration|text-align-last|text-align|text|target-position|target-new|target-name|target|table-layout|tab-size|style-type|style-position|style-image|style|string-set|stretch|stress|stacking-strategy|stacking-shift|stacking-ruby|stacking|src|speed|speech-rate|speech|speak-punctuation|speak-numeral|speak-header|speak|span|spacing|space-collapse|space|sizing|size-adjust|size|shadow|respond-to|rule-width|rule-style|rule-color|rule|ruby-span|ruby-position|ruby-overhang|ruby-align|ruby|rows|rotation-point|rotation|role|right-width|right-style|right-color|right|richness|rest-before|rest-after|rest|resource|resize|reset|replace|repeat|rendering-intent|rate|radius|quotes|punctuation-trim|punctuation|property|profile|presentation-level|presentation|position|pointer-events|point|play-state|play-during|play-count|pitch-range|pitch|phonemes|pause-before|pause-after|pause|page-policy|page-break-inside|page-break-before|page-break-after|page|padding-top|padding-right|padding-left|padding-bottom|padding|pack|overhang|overflow-y|overflow-x|overflow-style|overflow|outline-width|outline-style|outline-offset|outline-color|outline|orphans|origin|orientation|orient|ordinal-group|order|opacity|offset|numeral|new|nav-up|nav-right|nav-left|nav-index|nav-down|nav|name|move-to|model|mix-blend-mode|min-width|min-height|min|max-width|max-height|max|marquee-style|marquee-speed|marquee-play-count|marquee-direction|marquee|marks|mark-before|mark-after|mark|margin-top|margin-right|margin-left|margin-bottom|margin|mask-image|list-style-type|list-style-position|list-style-image|list-style|list|lines|line-stacking-strategy|line-stacking-shift|line-stacking-ruby|line-stacking|line-height|line-break|level|letter-spacing|length|left-width|left-style|left-color|left|label|justify-content|justify|iteration-count|inline-box-align|initial-value|initial-size|initial-before-align|initial-before-adjust|initial-after-align|initial-after-adjust|index|indent|increment|image-resolution|image-orientation|image|icon|hyphens|hyphenate-resource|hyphenate-lines|hyphenate-character|hyphenate-before|hyphenate-after|hyphenate|height|header|hanging-punctuation|gap|grid|grid-area|grid-auto-columns|grid-auto-flow|grid-auto-rows|grid-column|grid-column-end|grid-column-start|grid-row|grid-row-end|grid-row-start|grid-template|grid-template-areas|grid-template-columns|grid-template-rows|row-gap|gap|font-kerning|font-language-override|font-weight|font-variant-caps|font-variant|font-style|font-synthesis|font-stretch|font-size-adjust|font-size|font-family|font|float-offset|float|flex-wrap|flex-shrink|flex-grow|flex-group|flex-flow|flex-direction|flex-basis|flex|fit-position|fit|fill|filter|family|empty-cells|emphasis|elevation|duration|drop-initial-value|drop-initial-size|drop-initial-before-align|drop-initial-before-adjust|drop-initial-after-align|drop-initial-after-adjust|drop|down|dominant-baseline|display-role|display-model|display|direction|delay|decoration-break|decoration|cursor|cue-before|cue-after|cue|crop|counter-reset|counter-increment|counter|count|content|columns|column-width|column-span|column-rule-width|column-rule-style|column-rule-color|column-rule|column-gap|column-fill|column-count|column-break-before|column-break-after|column|color-profile|color|collapse|clip|clear|character|caption-side|break-inside|break-before|break-after|break|box-sizing|box-shadow|box-pack|box-orient|box-ordinal-group|box-lines|box-flex-group|box-flex|box-direction|box-decoration-break|box-align|box|bottom-width|bottom-style|bottom-right-radius|bottom-left-radius|bottom-color|bottom|border-width|border-top-width|border-top-style|border-top-right-radius|border-top-left-radius|border-top-color|border-top|border-style|border-spacing|border-right-width|border-right-style|border-right-color|border-right|border-radius|border-length|border-left-width|border-left-style|border-left-color|border-left|border-image|border-color|border-collapse|border-bottom-width|border-bottom-style|border-bottom-right-radius|border-bottom-left-radius|border-bottom-color|border-bottom|border|bookmark-target|bookmark-level|bookmark-label|bookmark|binding|bidi|before|baseline-shift|baseline|balance|background-blend-mode|background-size|background-repeat|background-position|background-origin|background-image|background-color|background-clip|background-break|background-attachment|background|azimuth|attachment|appearance|animation-timing-function|animation-play-state|animation-name|animation-iteration-count|animation-duration|animation-direction|animation-delay|animation-fill-mode|animation|alignment-baseline|alignment-adjust|alignment|align-self|align-last|align-items|align-content|align|after|adjust|will-change)|(writing-mode|text-anchor|stroke-width|stroke-opacity|stroke-miterlimit|stroke-linejoin|stroke-linecap|stroke-dashoffset|stroke-dasharray|stroke|stop-opacity|stop-color|shape-rendering|marker-start|marker-mid|marker-end|lighting-color|kerning|image-rendering|glyph-orientation-vertical|glyph-orientation-horizontal|flood-opacity|flood-color|fill-rule|fill-opacity|fill|enable-background|color-rendering|color-interpolation-filters|color-interpolation|clip-rule|clip-path)|([a-zA-Z_-][a-zA-Z0-9_-]*))(?!([^\\S\\n]*&)|([^\\S\\n]*\\{))(?=:|([^\\S\\n]+[^\\s])))"`) }) diff --git a/scripts/grammars/reprint.ts b/scripts/grammars/reprint.ts index da7113a..2d20571 100644 --- a/scripts/grammars/reprint.ts +++ b/scripts/grammars/reprint.ts @@ -23,6 +23,9 @@ export function regexpReprint(input: string) { // Stack of open brackets const stack: string[] = [] + const wsEscapeLocal: number[] = [] + + let wsEscapeGlobal = false let i = 0 @@ -37,25 +40,68 @@ export function regexpReprint(input: string) { continue } + while (wsEscapeLocal.length && wsEscapeLocal[0] > stack.length) { + wsEscapeLocal.shift() + } + + const head = stack[0] + const wsEscape = wsEscapeGlobal || wsEscapeLocal.length + + // Comments + if (char === '#' && wsEscape && input[i - 1].match(/\s/) && head !== '[') { + for (let j = i + 1; j <= input.length; j++) { + if (input[j] === '\n' || j === input.length) { + i = j + break + } + } + continue + } + // Open bracket - if (char === '(' && stack[0] !== '[') { - stack.unshift(char) - output += char + if (char === '(' && head !== '[') { // Group modifiers if (input[i + 1] === '?') { - output += input[i + 1] + input[i + 2] + // (?#...) comment + if (input[i + 2] === '#') { + for (let j = i + 3; j < input.length; j++) { + if (input[j] === ')' && input[j - 1] !== '\\') { + i = j + 1 + break + } + } + continue + } + + if (input[i + 2] === 'x') { + if (input[i + 3] === ')') { + i += 4 + wsEscapeGlobal = true + continue + } + else if (input[i + 3] === ':') { + i += 4 + stack.unshift(char) + wsEscapeLocal.unshift(stack.length) + output += '(?:' + continue + } + } + stack.unshift(char) + output += char + input[i + 1] + input[i + 2] i += 3 } else { + stack.unshift(char) + output += char i += 1 } continue } // Close bracket - if (char === ')' && stack[0] !== '[') { - const end = stack[0] - if (end === '(') + if (char === ')' && head !== '[') { + if (head === '(') stack.shift() output += char i += 1 @@ -89,7 +135,7 @@ export function regexpReprint(input: string) { throw new Error(`Unknown posix class "${name}"`) if (negated) resolved = `^${resolved}` - if (stack[0] === '[') + if (head === '[') output += resolved else output += `[${resolved}]` @@ -98,7 +144,7 @@ export function regexpReprint(input: string) { } // Prepend to the stack when not in a character class - if (stack[0] !== '[') { + if (head !== '[') { stack.unshift(char) } @@ -109,16 +155,17 @@ export function regexpReprint(input: string) { // Alternation close bracket if (char === ']') { - const end = stack[0] - if (end === '[') + if (head === '[') stack.shift() output += char i += 1 continue } - // Literals - output += char + if (!(wsEscape && head !== '[' && char.match(/\s/))) { + // Literals + output += char + } i += 1 } }