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

Switch to using the new PCRE2 library #816

h-h-h-h opened this issue Aug 28, 2015 · 3 comments


None yet
3 participants
Copy link

commented Aug 28, 2015


the PCRE library has changed its API and will provide new features only by means of the new API. Notepad++ should therefore switch to the new one.

Let me quote the official website (

The original, very widely deployed PCRE library, originally released in 1997, is at version 8.37, and the API and feature set are stable—future releases will be for bugfixes only. All new future features will be to PCRE2, not the original PCRE 8.x series.

You can find a summary of the changes under the following link:

Related discussion:


This comment has been minimized.

Copy link
Contributor Author

commented Sep 2, 2015

PCRE2 makes a feature available to replace according to a list with only one regular expression. This is done via the pcre2_substitute() or the pcre2_get_mark() function.


Target:       apple lemon
Find:         apple(*:pear)|lemon(*:orange)
Replace with: ${*MARK}
Result:       pear orange

View the latest version of the following file to see the documentation about this: (rev. 369). Search for:

  • ${*MARK}

Is it possible to make this functionality available in Notepad++? Note: To allow any replacement string in (*:...), PCRE2_ALT_VERBNAMES has to be set. It allows escaping (e.g., \)), free spacing ((?x)) and comments (#).

PCRE2_SUBSTITUTE_EXTENDED should also be set to allow for conditional substitutions when pcre2_substitute() is used. The syntax in the replacement string is: ${name:+set string:unset string}. See the corresponding feature request for additional information.


This comment has been minimized.

Copy link

commented Oct 17, 2015

Is there any efforts being made on this topic? I'm sorely missing the functionality I'd expect in PCRE, such as: backtracking control verbs.


This comment has been minimized.

Copy link

commented Apr 9, 2019

we are closing this issue due to its age and multiple newer notepad++ versions since it was filed.

please update your notepad++ to the latest version Notepad++ 7.6.6.
if your issue persists, and it is still of relevance to you, please feel free to file a new issue.

thank you for your help and best regards.

general notes:

please close your issues as soon as you are satisfied, to help
keeping the notepad++ issue tracker clean.

when creating a new issue, please provide all information as shown at the issue template.
your notepad++ debug info is part of the minimum requirements.
(? > Debug Info... > Copy debug info into clipboard).

please also conduct a search at the issue tracker beforehand, to check if a similar issue
already exists.

for general questions, or if it is not sure, whether your issue is directly related to
the notepad++ source code, please visit us at the notepad++ community forum, and
search if related topics exists. you are welcome to post either at similar
topics, or to create a new topic at Help Wanted or General Discussion.

                        Click here to visit the Notepad++ Community Forum                         

@MetaChuh MetaChuh closed this Apr 9, 2019

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
You can’t perform that action at this time.