Regular expression min match length
Hi, I need to calculate, given a regular expression, the min length for a match. For example if I have as regexp ^HTTP.*, 4 is the min length required for a match. Is it possible? Plz help... Bye _________________________________________________________________ C'è una nuova amica su Messenger… E' Doretta, vieni a conoscerla! http://www.doretta82.it/banner/index.html
This function, if exists, may be good for performance optimization. :-) ------------------ LoadCom 2007-08-13 ------------------------------------------------------------- 发件人:Raffaele Romito 发送日期:2007-08-13 15:44:12 收件人:boost-users@lists.boost.org 抄送: 主题:[Boost-users] Regular expression min match length Hi, I need to calculate, given a regular expression, the min length for a match. For example if I have as regexp ^HTTP.*, 4 is the min length required for a match. Is it possible? Plz help... Bye _________________________________________________________________ C'è una nuova amica su Messenger… E' Doretta, vieni a conoscerla! http://www.doretta82.it/banner/index.html___________________________________... Boost-users mailing list Boost-users@lists.boost.org http://lists.boost.org/mailman/listinfo.cgi/boost-users
Raffaele Romito wrote:
Hi, I need to calculate, given a regular expression, the min length for a match. For example if I have as regexp ^HTTP.*, 4 is the min length required for a match.
It's not currently supported by Boost.Regex: not least 'cos you're the only person to ask for it. It might be possible to implement it, if there's a compelling use case though. John.
participants (3)
-
John Maddock
-
LoadCom
-
Raffaele Romito