Marco Trevisan (Treviño) d639c4ec00 regex: Do not mix PCRE2 Compile, Match, Newline and BSR flags
As per the PCRE2 port we still used to try to map the old GRegex flags
(PCRE1 based) with the new PCRE2 ones, but doing that we were also
mixing flags with enums, leading to unexpected behaviors when trying to
get new line and BSR options out of bigger flags arrays.

So, avoid doing any mapping and store the values as native PCRE2 flags
internally and converting them back only when requested.

This fixes some regressions on newline handling.

Fixes: #2729
Fixes: #2688
Fixes: GNOME/gtksourceview#278
2022-09-12 13:55:39 +02:00
..
2022-06-27 17:53:25 -04:00
2022-05-23 09:19:45 -04:00
2022-06-29 16:05:09 +02:00
2021-07-29 10:09:27 -04:00
2022-06-23 10:47:22 +01:00
2022-06-23 10:47:22 +01:00
2022-06-23 10:47:22 +01:00
2020-11-17 15:50:07 +00:00
2018-01-04 22:19:30 +01:00
2022-06-30 01:46:32 +01:00
2022-07-25 22:30:22 +01:00
2021-09-21 09:41:29 +00:00
2021-11-18 14:32:09 +00:00
2021-09-21 09:41:29 +00:00
2021-09-21 09:41:29 +00:00
2021-09-21 09:41:29 +00:00
2021-09-21 09:41:29 +00:00