Commit Graph

97 Commits

Author SHA1 Message Date
Bas Leijdekkers
51b7d597cf RegExp: don't fail on parsing if file ends after a high surrogate character (EA-352432)
GitOrigin-RevId: ed171446eafcb6419e200d4317ce8f141a667d7c
2023-01-23 12:39:23 +00:00
Filippova Maria
6132796321 WI-60369 make support of pcre numbered group calling a part of RegExpBackRefImpl
GitOrigin-RevId: e4369e5e8c60c2a061152c9df82434d5ad4ede84
2022-08-22 20:45:07 +00:00
Filippova Maria
55d8c82e32 WI-60779 parse DEFINE and VERSION.. PCRE conditions separately
GitOrigin-RevId: 0a444d7cf63edebe6ac76458dc2e53fe2edce846
2022-08-12 16:05:26 +00:00
Filippova Maria
2a0ffa17ff WI-60369 Support an ability to call a PCRE numbered group
GitOrigin-RevId: b58439eda68ea2df047c54330a0c6fe3bbc7946b
2022-08-12 16:05:19 +00:00
Filippova Maria
a58330a1c1 WI-60779 Support PCRE "pseudo" conditions DEFINE and VERSION as conditions in conditional groups.
GitOrigin-RevId: bdf83d81e0235826d7980739025f90581bc4222c
2022-08-10 14:38:31 +00:00
Bas Leijdekkers
6fecec667a RegExp: more clear error message
GitOrigin-RevId: aa6b5d2de81037f7291867c314dbdc1b5cd9549e
2021-12-20 10:55:11 +00:00
Bas Leijdekkers
eccf815b89 RegExp: conditionals support for Ruby and improved conditionals support for PHP (RUBY-27316, WI-51955)
GitOrigin-RevId: 4790db7eeaf658d724ba7c70ed138c9472bf8f2c
2020-11-06 13:44:04 +00:00
Bas Leijdekkers
044afc1613 RegExp: simplify parse error message
GitOrigin-RevId: d9a3763a488de4912c850693ea23bf4b714988e4
2020-10-30 16:54:17 +00:00
Bas Leijdekkers
07a09bb005 regex: escaped closing square bracket is redundant for Java Regex
bug introduced by fix for WEB-45812

GitOrigin-RevId: 18cb5cac57440ee66bd3fde6f980390d8f7f0f8e
2020-06-08 17:25:56 +03:00
Bas Leijdekkers
d75cacfaa2 regex: escaped closing square bracket is not redundant for JS Unicode Regex (WEB-45812)
GitOrigin-RevId: 9e6a4180d995f96937954318bfbb01aff525cbce
2020-06-01 17:31:34 +03:00
Bas Leijdekkers
64c35cc61f regex: lex nested character classes with a ':', '.' or '=' as first character correctly (IDEA-233769)
GitOrigin-RevId: 46fcfcb56b72bf96b54ee0b1b3fdb567f3bfe78d
2020-03-31 12:32:01 +00:00
Bas Leijdekkers
7d8edaad8f regex: fix test data
GitOrigin-RevId: 4eb152fc665b054a1992b3eb385eddf04ff6af7d
2020-03-31 09:31:24 +00:00
Bas Leijdekkers
9e814f9e75 regex: i18n
GitOrigin-RevId: 959a692e7c77872c29e9fe2b690836ca9d4dd154
2020-03-07 13:41:21 +00:00
Bas Leijdekkers
489e253dc5 regex: fix handling of surrogate pairs in escaped unicode characters
GitOrigin-RevId: fac7582466fec09d569153bd0ee865821c82c41c
2020-02-29 10:03:11 +00:00
Kirill Smelov
8ecbed4332 WI-46035 Support PCRE back references (via \g) 2019-04-15 14:15:11 +03:00
Bas Leijdekkers
c7f9300541 RegExp: correct whitespace handling in comment mode (PY-31505) 2018-09-28 18:18:41 +02:00
Bas Leijdekkers
1629bdf218 RegExp: don't show unnecessary error 2018-09-21 15:28:58 +02:00
Bas Leijdekkers
5d35b47d3d RegExp: improve parser error recovery (IDEA-199135) 2018-09-19 20:58:22 +02:00
Anton Lobov
f49df874c3 javascript regex: move to core (ecmascript-style regexps are needed at least for json) 2018-09-11 18:35:31 +02:00
Bas Leijdekkers
b1b0d95ad0 regexp: lex character class starting with escaped caret correctly 2017-12-31 17:39:02 +01:00
Alexander Kass
a803b56c5f RegExp: ability to configure capabilities without new language definition 2017-10-09 12:46:31 +03:00
Bas Leijdekkers
6f79979ab8 RegExp: fix python regex conditional reference parsing 2017-02-24 13:04:36 +01:00
Bas Leijdekkers
d5bf77bb62 RegExp: simplify options handling 2017-02-09 14:39:45 +01:00
Bas Leijdekkers
6ca8877ef1 RegExp: character range may contain only characters, including named characters 2017-02-02 19:00:25 +01:00
Bas Leijdekkers
e9b66763b8 RegExp: adding RegExpUnion was a mistake 2017-02-02 19:00:24 +01:00
Bas Leijdekkers
c5d7d0d9bd RegExp: space is not a control character 2017-02-02 19:00:24 +01:00
Bas Leijdekkers
57ca2e7195 regexp: separate token for atomic group 2017-01-17 17:11:38 +01:00
Bas Leijdekkers
b3d2d5c9a9 regexp: character class lexing reworked to improve (?x) comment mode 2017-01-09 17:10:10 +01:00
Bas Leijdekkers
cd16b12ccb regexp: no counted quantifiers inside character classes 2017-01-07 21:21:15 +01:00
Bas Leijdekkers
bbf0d62571 regexp: intersection parse fix 2017-01-07 21:21:14 +01:00
Bas Leijdekkers
16ea7af128 regexp: fix test data 2017-01-05 15:33:51 +01:00
Bas Leijdekkers
50ed2ed8a6 regexp: get rid of cumbersome xml driven test 2017-01-05 15:26:00 +01:00
Bas Leijdekkers
9e094516b8 regexp: small simplification of parser 2016-12-31 19:32:16 +01:00
Bas Leijdekkers
3d68f5be67 regexp: extended hex unicode character syntax under javascript 2016-12-22 16:08:54 +01:00
Bas Leijdekkers
f6e35ab7b9 regexp: highlight invalid escapes (such as boundaries) as error inside character class 2016-12-22 16:08:53 +01:00
Bas Leijdekkers
83091d58fa regexp: fix no leading zero octal character lexing 2016-12-22 16:08:51 +01:00
Alexey Kudravtsev
caa5ca99ec call allHighlightsForRangeAreProduced((0,3)) even in case of runVisitors() called for visible element with range (0,3) which generated some info, then runVisitors() called for the the file with range (0,3). 2016-12-14 12:05:58 +03:00
Bas Leijdekkers
fe7baae811 regexp: split parsing test into dialect specific parts 2016-12-13 20:09:26 +01:00
Bas Leijdekkers
a29f16e1f1 regexp: improved highlighting of character ranges 2016-12-13 20:09:23 +01:00
Bas Leijdekkers
fb5eae77b6 regexp: fix completion test 2016-12-05 18:07:48 +01:00
Bas Leijdekkers
42443f3f5f regexp: add missing test data 2016-12-05 17:18:28 +01:00
Bas Leijdekkers
4b7013730e regexp: parser test coverage and remove dead code 2016-12-05 16:38:26 +01:00
Bas Leijdekkers
df13b92ff4 regexp: handle dangling '{' correctly for dialects that allow it (python, ruby, js) (PY-8252) 2016-12-05 16:38:25 +01:00
Bas Leijdekkers
748a1e5eee PY-21575 (False positive: "Unclosed group reference" for backreference to a named group in regex) 2016-12-05 11:44:41 +01:00
Bas Leijdekkers
16ec0170f6 regexp: fix a case of "good code is red" 2016-12-05 11:44:40 +01:00
Bas Leijdekkers
e417afe76a regexp: workaround for failing test 2016-12-02 16:26:36 +01:00
Bas Leijdekkers
f222273458 regexp: better highlighting and more highlighting options (IDEA-131177 & IDEA-118236) 2016-12-02 13:06:15 +01:00
Bas Leijdekkers
e0587ee75e fix typo in regexp test data 2016-11-07 17:08:10 +01:00
Bas Leijdekkers
b79d5cf058 regexp: initial support for named unicode characters (IDEA-156407) 2016-08-26 14:20:02 +02:00
Bas Leijdekkers
44d44fdefb regexp: improve error reporting and recovery when parsing properties 2016-08-26 14:20:00 +02:00