Comments (4)
Another different infinite loop:
l_SubjectText = "Wyzo"
l_Regex = "(Manager)|^((copy of )?)"
from vbpcre2.
Hi @dragokas, thanks for these examples. Looks like the problem is with the Global loop and PCRE2 empty match behaviour (PCRE2 can return an empty match, but the loop doesn't detect this properly and ends up looping infinitely). I will have a fix soon.
from vbpcre2.
Just committed a partial solution for this problem. There should be no more infinite loop, but we're getting different results to VBScript CRegex when Multiline=True and there could be subsequent matches after an empty match. I'll need to work on a solution for this.
from vbpcre2.
Closing this issue since I think it is fixed re: the infinite loop.
I'm opening a new issue to discuss the PCRE2/VBScript discrepancy described above: #19
from vbpcre2.
Related Issues (20)
- Move all PCRE2 constants into enums in modPcre HOT 2
- Pointer problem with pcre2_set_callout HOT 2
- Object and Method Names Should More Closely Match PCRE2 Names HOT 2
- Correction to code comments HOT 1
- Feature: FirstIndex of CPcreMatch HOT 2
- Variable names prefixes HOT 2
- Brackets [] in enum HOT 2
- Unused variables HOT 1
- Error checking in SubMatchValue() HOT 1
- Infinite loop in 'Replace' of empty line HOT 1
- Different Results vs. VBScript? HOT 7
- Create ActiveX DLL Using PCRE2 Classes HOT 3
- Documentation Needed HOT 1
- Bad Submatch Handling Discovered HOT 1
- Pre-built VBPCRE2Test.exe in /bin folder is out-of-date HOT 3
- New pcre2 release - should we rebuild against it? HOT 16
- Should/can we statically link pcre-16.dll and VBPCRE2.dll? HOT 4
- i have compile the latest pcre2.dll and i want to make vbPCRE2.dll to be fullly compapible with vbscript HOT 1
- Office 365 64-bit. "Class not Registered" HOT 3
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 vbpcre2.