Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Regexp grammar {min,max} not supported? #5180

Closed
ZzzzzzzSkyward opened this issue May 13, 2024 · 2 comments
Closed

Regexp grammar {min,max} not supported? #5180

ZzzzzzzSkyward opened this issue May 13, 2024 · 2 comments

Comments

@ZzzzzzzSkyward
Copy link

Problem: I find the regular expression .{1,2} not working.
Version:

Notepad3 (x64) 6.23.712.1 rc (f601f3a9)
Compiler: MS Visual C++ 2022 v17.6.5 (VC v1936)
OS Version: Windows 10  Version 22H2 (Build 19045)
Windows Colors 'Dark-Mode' Theme is NO SUPPORTED.
Scintilla v535
Lexilla v525
Oniguruma v6.9.9
- Process is not elevated
- User is in Admin-Group.
- Locale -> zh-CN (CP:'ANSI (CP-936)')
- Current Encoding -> 'Unicode (UTF-8)'
- Screen-Resolution -> 1920 x 1080 [pix]
- Display-DPI -> 96 x 96  (Scale: 100%).
- Rendering-Technology -> 'DIRECT-WRITE'
- Zoom -> 100%.
- Current Lexer -> '文本文件'
@RaiKoHoff
Copy link
Collaborator

RaiKoHoff commented May 21, 2024

Please try the current beta Version, ".{<min>,<max>}" works as expected.

Ref.: https://github.com/kkos/oniguruma/blob/master/doc/RE

@ZzzzzzzSkyward
Copy link
Author

Solved.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

No branches or pull requests

3 participants