Feature Requests item #1443010, was opened at 2006-03-04 13:43 Message generated for change (Comment added) made by miconda You can respond by visiting: https://sourceforge.net/tracker/?func=detail&atid=743023&aid=1443010&group_id=139143
Please note that this message will contain a full copy of the comment thread, including the initial issue submission, for this request, not just the latest update. Category: modules >Group: ver devel >Status: Closed >Resolution: Fixed Priority: 5 Private: No Submitted By: placido (jfkavaka) >Assigned to: Daniel-Constantin Mierla (miconda) Summary: dynamic regexps for avpops and textops Initial Comment: Supporting "dynamic" values for regexps. This means supporting pseudo-vars where regexps are expected. - avpops functions Example: avp_check("$ru", "re/$avp(s:regexp1)"); (A small tune of avp_check("", "re/") to detect pseudo-variables at fixup time and then behave accordingly at run time should do it.) - textops functions Example: search_body("$avp(s:regexp2)"); (similar tune in textops functions should do it) ---------------------------------------------------------------------- >Comment By: Daniel-Constantin Mierla (miconda) Date: 2007-07-11 18:46 Message: Logged In: YES user_id=1246013 Originator: NO Can be done now directly in script: $avp(i:23) = "[1-9][0-9]+"; if($ru =~ $avp(i:23)) { } ---------------------------------------------------------------------- You can respond by visiting: https://sourceforge.net/tracker/?func=detail&atid=743023&aid=1443010&group_id=139143 _______________________________________________ Devel mailing list Devel@openser.org http://openser.org/cgi-bin/mailman/listinfo/devel