Source language: Translate to:

hpwControl hpwExecRegExpPos Regex Error

Questions about NeoBook PlugIns

Moderator: Neosoft Support

hpwControl hpwExecRegExpPos Regex Error

Postby tjchan » Wed Jul 12, 2017 11:18 am

Hello!

I'm using this this entry that shows working in RegExBuddy:

Code: Select all
11-11-101011-(?:(?!\r).)*


The error that I am getting is:
TRegExpr(comp) Unrecognized Modifier (pos 21)

My NeoBook Code is:

Code: Select all
hpwExecRegExpPos "11-11-101011-(?:(?!\r).)*" "[data]" "[resultLocation]"


RegExBuddy is highlighting these entries for the following RegEx Code:
Code: Select all
11-11-101011-23201,972-111-6195,"AB220a-EGG, DAN", $1.00 ,DIGITAL - 12 BUTTON,,,
11-11-101011-23201,972-589-6364,"AB200-SUPER, AGENT", $1.00 ,DIGITAL - 30 BUTTON,,,
11-11-101011-23201,972-972-6384,"AB200-CHO, CHANG", $1.00 ,DIGITAL - 30 BUTTON,,,
11-11-101011-23201,972-238-6974,"AB218-JUDE, JANET", $1.00 ,DIGITAL - 30 BUTTON,,,


Thank you!
-Timothy
tjchan
 
Posts: 70
Joined: Thu Mar 31, 2005 11:02 pm
Location: Dallas, TX

Re: hpwControl hpwExecRegExpPos Regex Error

Postby HPW » Thu Jul 13, 2017 11:55 am

Hello,

I am able to reproduce the problem on my side.
But I have no idea what the problem is.
The syntax option for Regex are often quite difficult to understand.
Therefor there exist this nice products like RegexBuddy and RegexMagic.
The used TRegexp is now quit outdated. Maybe a reason why it does not return the same as RegexBuddy,
One idea may be to ask the author of RegexBuddy what the problem could be. He is the real expert in this stuff.

Regards

Hans-Peter
Hans-Peter
User avatar
HPW
 
Posts: 2490
Joined: Fri Apr 01, 2005 11:24 pm
Location: Germany

Re: hpwControl hpwExecRegExpPos Regex Error

Postby mishem » Thu Jul 13, 2017 12:15 pm

HPW wrote:The syntax option for Regex are often quite difficult to understand.


This component does not understand:
(?=)
(?!)
(?<=)
(?<!)
(?>)
(?:)
mishem
 
Posts: 556
Joined: Mon Oct 08, 2012 1:51 pm

Re: hpwControl hpwExecRegExpPos Regex Error

Postby tjchan » Fri Jul 14, 2017 6:07 am

Thanks a bunch! Will try to create a statement without those forbidden symbols. Thanks to both of you for your responses.
tjchan
 
Posts: 70
Joined: Thu Mar 31, 2005 11:02 pm
Location: Dallas, TX


Return to PlugIn Discussions

Who is online

Users browsing this forum: No registered users and 1 guest

cron