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

Feature: FirstIndex of CPcreMatch #12

Closed
dragokas opened this issue Jun 8, 2017 · 2 comments
Closed

Feature: FirstIndex of CPcreMatch #12

dragokas opened this issue Jun 8, 2017 · 2 comments
Assignees

Comments

@dragokas
Copy link

dragokas commented Jun 8, 2017

Just a last one (I think) VBS-like feature request to Pcre: to add 'FirstIndex' property to 'CPcreMatch'. It have to point to position in original string of match that was found.

Something like pa_OvectorArray() for SubMatches, but for Match.
I didn't see is it can be done easily, so it is still a subject of discussion.
Anyway, I would like to know how to add this feature myself.

@jpbro jpbro self-assigned this Jun 14, 2017
@jpbro
Copy link
Owner

jpbro commented Jun 14, 2017

Thanks for the feature request @dragokas - this has been implemented in the latest commit.

@jpbro jpbro closed this as completed Jun 14, 2017
@dragokas
Copy link
Author

dragokas commented Jun 15, 2017

has been implemented

Not sure, is it already committed (don't see) or planned to be?

I finished my portable proxy-wrapper, so it is the last feature to be implemented for a full mimic of VBScript.Regexp if first one is failed. Will be ready to post it as soon as add this feature.

UPD. Ohh, didn't see a commit.
It's very nice you are implemented this together with LastIndex and Length properties.

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

2 participants