Search the web
Sign In
New User? Sign Up
power-pro · Free discussion list for PowerPro users
? Already a member? Sign in to Yahoo!

Yahoo! Groups Tips

Did you know...
Message search is now enhanced, find messages faster. Take it for a spin.

Best of Y! Groups

   Check them out and nominate your group.
Having problems with message search? Fill out this form to ensure your group is one of the first to be migrated to the new message search system.

Messages

  Messages Help
Advanced
REGEX PLUGIN: Option String doesn't work when used the same variable   Message List  
Reply | Forward Message #34387 of 36652 |
Re: REGEX PLUGIN: Option String doesn't work when used the same variable name.

I thought of one other possible change for regex plugin, it would be
nice if we could use optionally use cbx("@function", args) for script
name in regex.pcreReplaceCallback. Currently, the script must be
specified as "."++scriptname++"@function" and it isn't possible to
send arguments. The plugin sends a pointer to the array. That could be
the first argument if user specifies multiple arguments, or the only
argument if no arguments are specified.

Regards,
Sheri




Mon Jan 12, 2009 2:08 pm

silvermoonwo...
Offline Offline
Send Email Send Email

Forward
Message #34387 of 36652 |
Expand Messages Author Sort by Date

Option String doesn't work when used the same variable name. When used a variable named "i" in For ... statement to create a loop, it seems that option strings...
forxtra
Offline Send Email
Jan 7, 2009
4:19 am

... Odd, I agree. I was going to suggest putting it in a Powerpro literal string, but that gives the same result. This works: Win.Debug(Regex.PcreMatch(p, s,...
Sheri
silvermoonwo...
Offline Send Email
Jan 7, 2009
5:08 am

... Clearly an error in regex plugin. I can do a fix, but that would mean updating docs. You want to do it, Sheri?...
entropyreduction
entropyreduc...
Offline Send Email
Jan 7, 2009
5:10 pm

... I certainly don't mind updating the docs, but I'd like to check and see if I can identify a few other regex plugin issues for an update. For example PCRE...
Sheri
silvermoonwo...
Offline Send Email
Jan 8, 2009
4:51 am

... I sort of suspected new features (and bugs) might be accumulating. I found bug re variables: over-enthusiastic attempt to allow a var name to occur...
entropyreduction
entropyreduc...
Offline Send Email
Jan 8, 2009
6:04 am

... The problem with "literal" option should have shown up in regexPluginTest 43c, but the intending replacement string and option were not defined prior to or...
Sheri
silvermoonwo...
Offline Send Email
Jan 8, 2009
3:13 pm

... Now long enough ago that I'll have to go read your docs to find out what this was all about. Will do. ... Is that pcre 7.8? I better go get it, haven't...
entropyreduction
entropyreduc...
Offline Send Email
Jan 8, 2009
5:34 pm

... Given the constants, I doubt you will need any sources. You have the library if your PowerPro is uptodate. If you haven't downloaded the optional pcre.chm...
Sheri
silvermoonwo...
Offline Send Email
Jan 8, 2009
11:34 pm

... Is what follows a replacement regexPluginTest 43c? ... newish Compile-Time options: add new option keywords as follows, unless you prefer others: ...
entropyreduction
entropyreduc...
Offline Send Email
Jan 9, 2009
4:14 am

... lol! I'd prefer: javascript, bsr_anycrlf, bsr_unicode (it would be confusing to have something much different than the internal alternatives) and (for...
Sheri
silvermoonwo...
Offline Send Email
Jan 9, 2009
1:55 pm

... I posted a preliminary update for regexPluginTest and log. It corrects 43c and adds a few new tests for the expected changes. ...
Sheri
silvermoonwo...
Offline Send Email
Jan 9, 2009
4:30 pm

I thought of one other possible change for regex plugin, it would be nice if we could use optionally use cbx("@function", args) for script name in...
Sheri
silvermoonwo...
Offline Send Email
Jan 12, 2009
2:08 pm
Advanced

Copyright © 2009 Yahoo! Inc. All rights reserved.
Privacy Policy - Terms of Service - Guidelines - Help