github-linguist 5.0.11 → 5.1.0

Sign up to get free protection for your applications and to get access to all the features.
Files changed (79) hide show
  1. checksums.yaml +4 -4
  2. data/grammars/source.antlr.json +2 -2
  3. data/grammars/source.batchfile.json +31 -39
  4. data/grammars/source.c++.json +2 -2
  5. data/grammars/source.c.json +1 -1
  6. data/grammars/source.capnp.json +2 -2
  7. data/grammars/source.chapel.json +2 -2
  8. data/grammars/source.clojure.json +3 -1
  9. data/grammars/source.coffee.json +6 -6
  10. data/grammars/source.crystal.json +1 -1
  11. data/grammars/source.csound-document.json +20 -5
  12. data/grammars/source.csound-score.json +1 -1
  13. data/grammars/source.csound.json +7 -20
  14. data/grammars/source.css.less.json +2 -2
  15. data/grammars/source.cython.json +2 -2
  16. data/grammars/source.dart.json +16 -20
  17. data/grammars/source.ditroff.json +3 -3
  18. data/grammars/source.elixir.json +3 -3
  19. data/grammars/source.erlang.json +1 -1
  20. data/grammars/source.fan.json +345 -0
  21. data/grammars/source.fancy.json +1 -1
  22. data/grammars/source.gdb.json +1 -1
  23. data/grammars/source.gdb.session.json +1 -1
  24. data/grammars/source.gdscript.json +1 -1
  25. data/grammars/source.gfm.json +16 -0
  26. data/grammars/source.grace.json +1 -1
  27. data/grammars/source.harbour.json +1 -1
  28. data/grammars/source.idl.json +1 -1
  29. data/grammars/source.java.json +2 -2
  30. data/grammars/source.jison.json +45 -7
  31. data/grammars/source.jisonlex.json +13 -3
  32. data/grammars/source.js.json +7 -7
  33. data/grammars/source.js.regexp.json +2 -2
  34. data/grammars/source.jsdoc.json +24 -49
  35. data/grammars/source.livescript.json +4 -4
  36. data/grammars/source.logtalk.json +1 -1
  37. data/grammars/source.lsl.json +1 -1
  38. data/grammars/source.lua.json +5 -7
  39. data/grammars/source.mask.json +2 -2
  40. data/grammars/source.nim.json +2 -2
  41. data/grammars/source.nim_filter.json +2 -2
  42. data/grammars/source.nimcfg.json +2 -2
  43. data/grammars/source.nix.json +2 -2
  44. data/grammars/source.nu.json +2 -2
  45. data/grammars/source.pan.json +711 -0
  46. data/grammars/source.pawn.json +1 -1
  47. data/grammars/source.perl6fe.json +384 -7
  48. data/grammars/source.php.zephir.json +2 -2
  49. data/grammars/source.reason.json +2 -2
  50. data/grammars/source.ring.json +277 -0
  51. data/grammars/source.rust.json +8 -3
  52. data/grammars/source.scad.json +2 -2
  53. data/grammars/source.shell.json +1 -1
  54. data/grammars/source.smalltalk.json +83 -16
  55. data/grammars/source.spin.json +2 -2
  56. data/grammars/source.sqf.json +1 -1
  57. data/grammars/source.supercollider.json +2 -2
  58. data/grammars/source.swift.json +41 -2
  59. data/grammars/source.tl.json +264 -0
  60. data/grammars/source.toml.json +3 -3
  61. data/grammars/source.vhdl.json +1 -1
  62. data/grammars/source.webassembly.json +344 -0
  63. data/grammars/source.yaml.json +2 -2
  64. data/grammars/text.haml.json +3 -3
  65. data/grammars/text.html.handlebars.json +17 -8
  66. data/grammars/text.html.markdown.source.gfm.mson.json +1 -1
  67. data/grammars/text.html.php.blade.json +987 -440
  68. data/grammars/text.html.php.json +6 -6
  69. data/grammars/text.html.soy.json +3 -3
  70. data/grammars/text.html.vue.json +10 -10
  71. data/grammars/text.marko.json +3 -3
  72. data/grammars/text.roff.json +6 -3
  73. data/lib/linguist/heuristics.rb +4 -4
  74. data/lib/linguist/languages.json +1 -1
  75. data/lib/linguist/languages.yml +54 -4
  76. data/lib/linguist/samples.json +3030 -470
  77. data/lib/linguist/vendor.yml +3 -0
  78. data/lib/linguist/version.rb +1 -1
  79. metadata +7 -2
@@ -1181,7 +1181,7 @@
1181
1181
  "string_escaped_char": {
1182
1182
  "patterns": [
1183
1183
  {
1184
- "match": "\\\\(\\\\|[abefnprtv'\"?]|[0-3]\\d{,2}|[4-7]\\d?|x[a-fA-F0-9]{,2}|u[a-fA-F0-9]{,4}|U[a-fA-F0-9]{,8})",
1184
+ "match": "\\\\(\\\\|[abefnprtv'\"?]|[0-3]\\d{0,2}|[4-7]\\d?|x[a-fA-F0-9]{0,2}|u[a-fA-F0-9]{0,4}|U[a-fA-F0-9]{0,8})",
1185
1185
  "name": "constant.character.escape.c"
1186
1186
  },
1187
1187
  {
@@ -532,7 +532,7 @@
532
532
  "include": "#p5_regex"
533
533
  },
534
534
  {
535
- "match": "(?x)\n(?<=\n ^\n | ^\\s\n | [\\s\\(] [^\\p{Nd}\\p{L}]\n | ~~\\s|~~\\s\\s|match\\(\n)\n([/]) # Solidus\n(.*?) # Regex contents\n(?: (?<!\\\\)|(?<=\\\\\\\\) ) (/) # Ending",
535
+ "match": "(?x)\n(?<=\n ^\n | ^\\s\n | [\\s\\(] [^\\p{Nd}\\p{L}]\n | ~~\\s|~~\\s\\s|match\\(\n | match:\\s\n)\n([/]) # Solidus\n(.*?) # Regex contents\n(?: (?<!\\\\)|(?<=\\\\\\\\) ) (/) # Ending",
536
536
  "captures": {
537
537
  "1": {
538
538
  "name": "punctuation.definition.regexp.perl6fe"
@@ -690,25 +690,402 @@
690
690
  ]
691
691
  },
692
692
  {
693
- "begin": "(?x)\n(?<= ^|\\s )\n(?:\n (m|rx|s|S)\n (\n (?:\n (?<!:P5) # < This can maybe be removed because we\n \\s*:\\w+\n (?!\\s*:P5) # < include p5_regex above it\n )*\n )\n)\n\\s*\n([^#\\p{Ps}\\p{Pe}\\p{Pi}\\p{Pf}\\w'\\-<>\\-\\}\\{])",
693
+ "begin": "(?x)\n(?<= ^|\\s )\n(?:\n (m|rx|s|S)\n (\n (?:\n (?<!:P5) # < This can maybe be removed because we\n \\s*:\\w+\n (?!\\s*:P5) # < include p5_regex above it\n )*\n )\n)\n\\s*\n(/)",
694
694
  "beginCaptures": {
695
695
  "1": {
696
- "name": "string.regexp.construct.perl6fe"
696
+ "name": "string.regexp.construct.slash.perl6fe"
697
697
  },
698
698
  "2": {
699
- "name": "entity.name.section.adverb.regexp.perl6fe"
699
+ "name": "entity.name.section.adverb.regexp.slash.perl6fe"
700
700
  },
701
701
  "3": {
702
- "name": "punctuation.definition.regexp.perl6fe"
702
+ "name": "punctuation.definition.regexp.slash.perl6fe"
703
+ }
704
+ },
705
+ "end": "(?x) (?: (?<!\\\\)|(?<=\\\\\\\\) ) (/)",
706
+ "endCaptures": {
707
+ "1": {
708
+ "name": "punctuation.definition.regexp.slash.perl6fe"
709
+ }
710
+ },
711
+ "contentName": "string.regexp.slash.perl6fe",
712
+ "patterns": [
713
+ {
714
+ "include": "#interpolation"
715
+ },
716
+ {
717
+ "include": "source.regexp.perl6fe"
718
+ }
719
+ ]
720
+ },
721
+ {
722
+ "begin": "(?x)\n(?<= ^|\\s )\n(?:\n (m|rx|s|S)\n (\n (?:\n (?<!:P5) # < This can maybe be removed because we\n \\s*:\\w+\n (?!\\s*:P5) # < include p5_regex above it\n )*\n )\n)\n\\s*\n({)",
723
+ "beginCaptures": {
724
+ "1": {
725
+ "name": "string.regexp.construct.brace.perl6fe"
726
+ },
727
+ "2": {
728
+ "name": "entity.name.section.adverb.regexp.brace.perl6fe"
729
+ },
730
+ "3": {
731
+ "name": "punctuation.definition.regexp.brace.perl6fe"
732
+ }
733
+ },
734
+ "end": "(?x) (?: (?<!\\\\)|(?<=\\\\\\\\) ) (})",
735
+ "endCaptures": {
736
+ "1": {
737
+ "name": "punctuation.definition.regexp.brace.perl6fe"
738
+ }
739
+ },
740
+ "contentName": "string.regexp.brace.perl6fe",
741
+ "patterns": [
742
+ {
743
+ "include": "#interpolation"
744
+ },
745
+ {
746
+ "include": "source.regexp.perl6fe"
747
+ }
748
+ ]
749
+ },
750
+ {
751
+ "begin": "(?x)\n(?<= ^|\\s )\n(?:\n (m|rx|s|S)\n (\n (?:\n (?<!:P5) # < This can maybe be removed because we\n \\s*:\\w+\n (?!\\s*:P5) # < include p5_regex above it\n )*\n )\n)\n\\s*\n(<)",
752
+ "beginCaptures": {
753
+ "1": {
754
+ "name": "string.regexp.construct.angle.perl6fe"
755
+ },
756
+ "2": {
757
+ "name": "entity.name.section.adverb.regexp.angle.perl6fe"
758
+ },
759
+ "3": {
760
+ "name": "punctuation.definition.regexp.angle.perl6fe"
761
+ }
762
+ },
763
+ "end": "(?x) (?: (?<!\\\\)|(?<=\\\\\\\\) ) (>)",
764
+ "endCaptures": {
765
+ "1": {
766
+ "name": "punctuation.definition.regexp.angle.perl6fe"
767
+ }
768
+ },
769
+ "contentName": "string.regexp.angle.perl6fe",
770
+ "patterns": [
771
+ {
772
+ "include": "#interpolation"
773
+ },
774
+ {
775
+ "include": "source.regexp.perl6fe"
776
+ }
777
+ ]
778
+ },
779
+ {
780
+ "begin": "(?x)\n(?<= ^|\\s )\n(?:\n (m|rx|s|S)\n (\n (?:\n (?<!:P5) # < This can maybe be removed because we\n \\s*:\\w+\n (?!\\s*:P5) # < include p5_regex above it\n )*\n )\n)\n\\s*\n(\\()",
781
+ "beginCaptures": {
782
+ "1": {
783
+ "name": "string.regexp.construct.paren.perl6fe"
784
+ },
785
+ "2": {
786
+ "name": "entity.name.section.adverb.regexp.paren.perl6fe"
787
+ },
788
+ "3": {
789
+ "name": "punctuation.definition.regexp.paren.perl6fe"
790
+ }
791
+ },
792
+ "end": "(?x) (?: (?<!\\\\)|(?<=\\\\\\\\) ) (\\))",
793
+ "endCaptures": {
794
+ "1": {
795
+ "name": "punctuation.definition.regexp.paren.perl6fe"
796
+ }
797
+ },
798
+ "contentName": "string.regexp.paren.perl6fe",
799
+ "patterns": [
800
+ {
801
+ "include": "#interpolation"
802
+ },
803
+ {
804
+ "include": "source.regexp.perl6fe"
805
+ }
806
+ ]
807
+ },
808
+ {
809
+ "begin": "(?x)\n(?<= ^|\\s )\n(?:\n (m|rx|s|S)\n (\n (?:\n (?<!:P5) # < This can maybe be removed because we\n \\s*:\\w+\n (?!\\s*:P5) # < include p5_regex above it\n )*\n )\n)\n\\s*\n(\\[)",
810
+ "beginCaptures": {
811
+ "1": {
812
+ "name": "string.regexp.construct.bracket.perl6fe"
813
+ },
814
+ "2": {
815
+ "name": "entity.name.section.adverb.regexp.bracket.perl6fe"
816
+ },
817
+ "3": {
818
+ "name": "punctuation.definition.regexp.bracket.perl6fe"
819
+ }
820
+ },
821
+ "end": "(?x) (?: (?<!\\\\)|(?<=\\\\\\\\) ) (\\])",
822
+ "endCaptures": {
823
+ "1": {
824
+ "name": "punctuation.definition.regexp.bracket.perl6fe"
825
+ }
826
+ },
827
+ "contentName": "string.regexp.bracket.perl6fe",
828
+ "patterns": [
829
+ {
830
+ "include": "#interpolation"
831
+ },
832
+ {
833
+ "include": "source.regexp.perl6fe"
834
+ }
835
+ ]
836
+ },
837
+ {
838
+ "begin": "(?x)\n(?<= ^|\\s )\n(?:\n (m|rx|s|S)\n (\n (?:\n (?<!:P5) # < This can maybe be removed because we\n \\s*:\\w+\n (?!\\s*:P5) # < include p5_regex above it\n )*\n )\n)\n\\s*\n(“)",
839
+ "beginCaptures": {
840
+ "1": {
841
+ "name": "string.regexp.construct.left_double_right_double.perl6fe"
842
+ },
843
+ "2": {
844
+ "name": "entity.name.section.adverb.regexp.left_double_right_double.perl6fe"
845
+ },
846
+ "3": {
847
+ "name": "punctuation.definition.regexp.left_double_right_double.perl6fe"
848
+ }
849
+ },
850
+ "end": "(?x) (?: (?<!\\\\)|(?<=\\\\\\\\) ) (”)",
851
+ "endCaptures": {
852
+ "1": {
853
+ "name": "punctuation.definition.regexp.left_double_right_double.perl6fe"
854
+ }
855
+ },
856
+ "contentName": "string.regexp.left_double_right_double.perl6fe",
857
+ "patterns": [
858
+ {
859
+ "include": "#interpolation"
860
+ },
861
+ {
862
+ "include": "source.regexp.perl6fe"
863
+ }
864
+ ]
865
+ },
866
+ {
867
+ "begin": "(?x)\n(?<= ^|\\s )\n(?:\n (m|rx|s|S)\n (\n (?:\n (?<!:P5) # < This can maybe be removed because we\n \\s*:\\w+\n (?!\\s*:P5) # < include p5_regex above it\n )*\n )\n)\n\\s*\n(„)",
868
+ "beginCaptures": {
869
+ "1": {
870
+ "name": "string.regexp.construct.left_double-low-q_right_double.perl6fe"
871
+ },
872
+ "2": {
873
+ "name": "entity.name.section.adverb.regexp.left_double-low-q_right_double.perl6fe"
874
+ },
875
+ "3": {
876
+ "name": "punctuation.definition.regexp.left_double-low-q_right_double.perl6fe"
877
+ }
878
+ },
879
+ "end": "(?x) (?: (?<!\\\\)|(?<=\\\\\\\\) ) (”|“)",
880
+ "endCaptures": {
881
+ "1": {
882
+ "name": "punctuation.definition.regexp.left_double-low-q_right_double.perl6fe"
883
+ }
884
+ },
885
+ "contentName": "string.regexp.left_double-low-q_right_double.perl6fe",
886
+ "patterns": [
887
+ {
888
+ "include": "#interpolation"
889
+ },
890
+ {
891
+ "include": "source.regexp.perl6fe"
892
+ }
893
+ ]
894
+ },
895
+ {
896
+ "begin": "(?x)\n(?<= ^|\\s )\n(?:\n (m|rx|s|S)\n (\n (?:\n (?<!:P5) # < This can maybe be removed because we\n \\s*:\\w+\n (?!\\s*:P5) # < include p5_regex above it\n )*\n )\n)\n\\s*\n(‘)",
897
+ "beginCaptures": {
898
+ "1": {
899
+ "name": "string.regexp.construct.left_single_right_single.perl6fe"
900
+ },
901
+ "2": {
902
+ "name": "entity.name.section.adverb.regexp.left_single_right_single.perl6fe"
903
+ },
904
+ "3": {
905
+ "name": "punctuation.definition.regexp.left_single_right_single.perl6fe"
906
+ }
907
+ },
908
+ "end": "(?x) (?: (?<!\\\\)|(?<=\\\\\\\\) ) (’)",
909
+ "endCaptures": {
910
+ "1": {
911
+ "name": "punctuation.definition.regexp.left_single_right_single.perl6fe"
912
+ }
913
+ },
914
+ "contentName": "string.regexp.left_single_right_single.perl6fe",
915
+ "patterns": [
916
+ {
917
+ "include": "#interpolation"
918
+ },
919
+ {
920
+ "include": "source.regexp.perl6fe"
921
+ }
922
+ ]
923
+ },
924
+ {
925
+ "begin": "(?x)\n(?<= ^|\\s )\n(?:\n (m|rx|s|S)\n (\n (?:\n (?<!:P5) # < This can maybe be removed because we\n \\s*:\\w+\n (?!\\s*:P5) # < include p5_regex above it\n )*\n )\n)\n\\s*\n(‚)",
926
+ "beginCaptures": {
927
+ "1": {
928
+ "name": "string.regexp.construct.low-q_left_single.perl6fe"
929
+ },
930
+ "2": {
931
+ "name": "entity.name.section.adverb.regexp.low-q_left_single.perl6fe"
932
+ },
933
+ "3": {
934
+ "name": "punctuation.definition.regexp.low-q_left_single.perl6fe"
935
+ }
936
+ },
937
+ "end": "(?x) (?: (?<!\\\\)|(?<=\\\\\\\\) ) (‘)",
938
+ "endCaptures": {
939
+ "1": {
940
+ "name": "punctuation.definition.regexp.low-q_left_single.perl6fe"
941
+ }
942
+ },
943
+ "contentName": "string.regexp.low-q_left_single.perl6fe",
944
+ "patterns": [
945
+ {
946
+ "include": "#interpolation"
947
+ },
948
+ {
949
+ "include": "source.regexp.perl6fe"
950
+ }
951
+ ]
952
+ },
953
+ {
954
+ "begin": "(?x)\n(?<= ^|\\s )\n(?:\n (m|rx|s|S)\n (\n (?:\n (?<!:P5) # < This can maybe be removed because we\n \\s*:\\w+\n (?!\\s*:P5) # < include p5_regex above it\n )*\n )\n)\n\\s*\n(「)",
955
+ "beginCaptures": {
956
+ "1": {
957
+ "name": "string.regexp.construct.fw_cornerbracket.perl6fe"
958
+ },
959
+ "2": {
960
+ "name": "entity.name.section.adverb.regexp.fw_cornerbracket.perl6fe"
961
+ },
962
+ "3": {
963
+ "name": "punctuation.definition.regexp.fw_cornerbracket.perl6fe"
964
+ }
965
+ },
966
+ "end": "(?x) (?: (?<!\\\\)|(?<=\\\\\\\\) ) (」)",
967
+ "endCaptures": {
968
+ "1": {
969
+ "name": "punctuation.definition.regexp.fw_cornerbracket.perl6fe"
970
+ }
971
+ },
972
+ "contentName": "string.regexp.fw_cornerbracket.perl6fe",
973
+ "patterns": [
974
+ {
975
+ "include": "#interpolation"
976
+ },
977
+ {
978
+ "include": "source.regexp.perl6fe"
979
+ }
980
+ ]
981
+ },
982
+ {
983
+ "begin": "(?x)\n(?<= ^|\\s )\n(?:\n (m|rx|s|S)\n (\n (?:\n (?<!:P5) # < This can maybe be removed because we\n \\s*:\\w+\n (?!\\s*:P5) # < include p5_regex above it\n )*\n )\n)\n\\s*\n(「)",
984
+ "beginCaptures": {
985
+ "1": {
986
+ "name": "string.regexp.construct.hw_cornerbracket.perl6fe"
987
+ },
988
+ "2": {
989
+ "name": "entity.name.section.adverb.regexp.hw_cornerbracket.perl6fe"
990
+ },
991
+ "3": {
992
+ "name": "punctuation.definition.regexp.hw_cornerbracket.perl6fe"
993
+ }
994
+ },
995
+ "end": "(?x) (?: (?<!\\\\)|(?<=\\\\\\\\) ) (」)",
996
+ "endCaptures": {
997
+ "1": {
998
+ "name": "punctuation.definition.regexp.hw_cornerbracket.perl6fe"
999
+ }
1000
+ },
1001
+ "contentName": "string.regexp.hw_cornerbracket.perl6fe",
1002
+ "patterns": [
1003
+ {
1004
+ "include": "#interpolation"
1005
+ },
1006
+ {
1007
+ "include": "source.regexp.perl6fe"
1008
+ }
1009
+ ]
1010
+ },
1011
+ {
1012
+ "begin": "(?x)\n(?<= ^|\\s )\n(?:\n (m|rx|s|S)\n (\n (?:\n (?<!:P5) # < This can maybe be removed because we\n \\s*:\\w+\n (?!\\s*:P5) # < include p5_regex above it\n )*\n )\n)\n\\s*\n(«)",
1013
+ "beginCaptures": {
1014
+ "1": {
1015
+ "name": "string.regexp.construct.chevron.perl6fe"
1016
+ },
1017
+ "2": {
1018
+ "name": "entity.name.section.adverb.regexp.chevron.perl6fe"
1019
+ },
1020
+ "3": {
1021
+ "name": "punctuation.definition.regexp.chevron.perl6fe"
1022
+ }
1023
+ },
1024
+ "end": "(?x) (?: (?<!\\\\)|(?<=\\\\\\\\) ) (»)",
1025
+ "endCaptures": {
1026
+ "1": {
1027
+ "name": "punctuation.definition.regexp.chevron.perl6fe"
1028
+ }
1029
+ },
1030
+ "contentName": "string.regexp.chevron.perl6fe",
1031
+ "patterns": [
1032
+ {
1033
+ "include": "#interpolation"
1034
+ },
1035
+ {
1036
+ "include": "source.regexp.perl6fe"
1037
+ }
1038
+ ]
1039
+ },
1040
+ {
1041
+ "begin": "(?x)\n(?<= ^|\\s )\n(?:\n (m|rx|s|S)\n (\n (?:\n (?<!:P5) # < This can maybe be removed because we\n \\s*:\\w+\n (?!\\s*:P5) # < include p5_regex above it\n )*\n )\n)\n\\s*\n(⟅)",
1042
+ "beginCaptures": {
1043
+ "1": {
1044
+ "name": "string.regexp.construct.s-shaped-bag-delimiter.perl6fe"
1045
+ },
1046
+ "2": {
1047
+ "name": "entity.name.section.adverb.regexp.s-shaped-bag-delimiter.perl6fe"
1048
+ },
1049
+ "3": {
1050
+ "name": "punctuation.definition.regexp.s-shaped-bag-delimiter.perl6fe"
1051
+ }
1052
+ },
1053
+ "end": "(?x) (?: (?<!\\\\)|(?<=\\\\\\\\) ) (⟆)",
1054
+ "endCaptures": {
1055
+ "1": {
1056
+ "name": "punctuation.definition.regexp.s-shaped-bag-delimiter.perl6fe"
1057
+ }
1058
+ },
1059
+ "contentName": "string.regexp.s-shaped-bag-delimiter.perl6fe",
1060
+ "patterns": [
1061
+ {
1062
+ "include": "#interpolation"
1063
+ },
1064
+ {
1065
+ "include": "source.regexp.perl6fe"
1066
+ }
1067
+ ]
1068
+ },
1069
+ {
1070
+ "begin": "(?x)\n(?<= ^|\\s )\n(?:\n (m|rx|s|S)\n (\n (?:\n (?<!:P5) # < This can maybe be removed because we\n \\s*:\\w+\n (?!\\s*:P5) # < include p5_regex above it\n )*\n )\n)\n\\s*\n([^#\\p{Ps}\\p{Pe}\\p{Pi}\\p{Pf}\\w'\\-<>\\-\\]\\)\\}\\{])",
1071
+ "beginCaptures": {
1072
+ "1": {
1073
+ "name": "string.regexp.construct.any.perl6fe"
1074
+ },
1075
+ "2": {
1076
+ "name": "entity.name.section.adverb.regexp.any.perl6fe"
1077
+ },
1078
+ "3": {
1079
+ "name": "punctuation.definition.regexp.any.perl6fe"
703
1080
  }
704
1081
  },
705
1082
  "end": "(?x) (?: (?<!\\\\)|(?<=\\\\\\\\) ) (\\3)",
706
1083
  "endCaptures": {
707
1084
  "1": {
708
- "name": "punctuation.definition.regexp.perl6fe"
1085
+ "name": "punctuation.definition.regexp.any.perl6fe"
709
1086
  }
710
1087
  },
711
- "contentName": "string.regexp.perl6fe",
1088
+ "contentName": "string.regexp.any.perl6fe",
712
1089
  "patterns": [
713
1090
  {
714
1091
  "include": "#interpolation"
@@ -233,7 +233,7 @@
233
233
  "name": "string.quoted.single.zephir",
234
234
  "patterns": [
235
235
  {
236
- "match": "\\\\(x\\h{2}|[0-2][0-7]{,2}|3[0-6][0-7]?|37[0-7]?|[4-7][0-7]?|.)",
236
+ "match": "\\\\(x[0-9A-Fa-f]{2}|[0-2][0-7]{0,2}|3[0-6][0-7]?|37[0-7]?|[4-7][0-7]?|.)",
237
237
  "name": "constant.character.escape.zephir"
238
238
  }
239
239
  ]
@@ -254,7 +254,7 @@
254
254
  "name": "string.quoted.double.zephir",
255
255
  "patterns": [
256
256
  {
257
- "match": "\\\\(x\\h{2}|[0-2][0-7]{,2}|3[0-6][0-7]|37[0-7]?|[4-7][0-7]?|.)",
257
+ "match": "\\\\(x[0-9A-Fa-f]{2}|[0-2][0-7]{0,2}|3[0-6][0-7]|37[0-7]?|[4-7][0-7]?|.)",
258
258
  "name": "constant.character.escape.zephir"
259
259
  }
260
260
  ]
@@ -32,7 +32,7 @@
32
32
  "include": "#reason_raw_string"
33
33
  },
34
34
  {
35
- "match": "\\'([^\\'\\\\]|\\\\(x\\h{2}|u\\{\\h{1,6}\\}|.))\\'",
35
+ "match": "\\'([^\\'\\\\]|\\\\(x[0-9A-Fa-f]{2}|u\\{[0-9A-Fa-f]{1,6}\\}|.))\\'",
36
36
  "name": "string.quoted.single.source.reason"
37
37
  },
38
38
  {
@@ -240,7 +240,7 @@
240
240
  ]
241
241
  },
242
242
  "reason_escaped_character": {
243
- "match": "\\\\(x\\h{2}|u\\{\\h{1,6}\\}|.)",
243
+ "match": "\\\\(x[0-9A-Fa-f]{2}|u\\{[0-9A-Fa-f]{1,6}\\}|.)",
244
244
  "name": "constant.character.escape.source.reason"
245
245
  },
246
246
  "reason_lifetime": {