Comments (3)
Duplicate names are most useful in patterns when only one of the duplicates can be set in any given match, for example, if each one is in a separate branch. If more than one is set, there is no direct way to tell which was most recent. I think the only way you could achieve this would be to make use of different (*MARK) items.
from pcre2.
@PhilipHazel Thanks for the tip - how exactly would I achieve that?
from pcre2.
Read the documentation about the pcre2_get_mark() function. I'm going to close this issue now.
from pcre2.
Related Issues (20)
- Inconsistency with * or ? followed by \x{ffffffff} when caseless,ucp HOT 2
- Inconsistency with COMMIT in positive lookaheads HOT 10
- Inconsistency with ACCEPT HOT 5
- Escaped characters in subsitution replacement not working HOT 1
- Incorrect backtracking over lookahead with captures which are later backreferenced HOT 7
- Edge case of (*ACCEPT) + endanchored fix HOT 2
- Inconsistency with variable lookbehinds including `\z` HOT 2
- Edge case with (*THEN) + endanchored HOT 1
- Inconsistent behaviour of character classes + ucp in 16- and 32-bit mode HOT 11
- The `\X` matcher doesn't catch all symbols HOT 2
- Regression issue introduced by ce5b604 HOT 3
- `pcre2grep -M` with anchored pattern matches not on the whole input - or only once HOT 7
- Another recursion inconsistency corner case HOT 17
- Malformed pcre2demo(3) man page destroys apropos readability HOT 1
- Install fails with `INSTALL_MSVC_PDB=ON` and `-G "Visual Studio XXX"`
- On Linux, pages are marked as simultaneously writable and executable HOT 5
- New release/roadmap HOT 3
- ld.lld: error: undefined symbol: _pcre2_default_tables_8 HOT 1
- Allocation of a negative number of bytes HOT 3
- PCRE2_DISABLE_RECURSELOOP_CHECK missing in pcre2.h.generic HOT 2
Recommend Projects
-
React
A declarative, efficient, and flexible JavaScript library for building user interfaces.
-
Vue.js
🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
-
Typescript
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
-
TensorFlow
An Open Source Machine Learning Framework for Everyone
-
Django
The Web framework for perfectionists with deadlines.
-
Laravel
A PHP framework for web artisans
-
D3
Bring data to life with SVG, Canvas and HTML. 📊📈🎉
-
Recommend Topics
-
javascript
JavaScript (JS) is a lightweight interpreted programming language with first-class functions.
-
web
Some thing interesting about web. New door for the world.
-
server
A server is a program made to process requests and deliver data to clients.
-
Machine learning
Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.
-
Visualization
Some thing interesting about visualization, use data art
-
Game
Some thing interesting about game, make everyone happy.
Recommend Org
-
Facebook
We are working to build community through open source technology. NB: members must have two-factor auth.
-
Microsoft
Open source projects and samples from Microsoft.
-
Google
Google ❤️ Open Source for everyone.
-
Alibaba
Alibaba Open Source for everyone
-
D3
Data-Driven Documents codes.
-
Tencent
China tencent open source team.
from pcre2.