Since info vars is in text area, direct replacement would caught problem. Seems no choice to replace the whole line? Sorry to discuss this - I don't know anything about regular expression.
Cheers, linly On 3月25日, 上午7時00分, The Editor <[email protected]> wrote: > I'm about ready to release a new version but I have one glitch. I'm > trying to get the info var function to accept a pattern parameter, so > you can use non-standard info var formats. > > It reads things fine, but I want to be able to write them as well. So > > [(info pattern="//^(\S+)=(.+)?/m' field=one value=new target=some.page)] > > would change on some.page > > one=old > to > one=new > > I have all the contents of the page in $content and need to some how > only make the appropriate replacement. Any help that could be > suggested is much appreciated. > > Cheers > Dan --~--~---------~--~----~------------~-------~--~----~ You received this message because you are subscribed to the Google Groups "BoltWire" group. To post to this group, send email to [email protected] To unsubscribe from this group, send email to [email protected] For more options, visit this group at http://groups.google.com/group/boltwire?hl=en -~----------~----~----~----~------~----~------~--~---
