[Insight-users] Regular Expression Library

Matt Kelsey mkelsey at gmail.com
Mon Apr 3 17:56:14 EDT 2006


Thanks for the info.  This looks like it's just what I need.  I wonder
if you could point me to a small example project or tutorial using
this to get me started.  I'm familar with RegExp syntex, but a bit of
a newbie when it comes to ITK and Cmake.  Thanks again,
Matt



On 4/3/06, Karthik Krishnan <Karthik.Krishnan at kitware.com> wrote:
> kwsys provides basic regex match capabilities in C++
>
>
> http://www.itk.org/cgi-bin/viewcvs.cgi/Utilities/kwsys/RegularExpression.hxx.in?rev=1.8&root=Insight&view=markup
>
> The regex syntax for the most part is similar to perl. You will find
> several examples of kwsys usage in CMake, ITK, VTK CVS repositories.
>
> Don't expect the same power as perl though.. there is no s/../../
> substitute, just ~m/../
>
> -karthik
>
> Matt Kelsey wrote:
>
> >A little off topic here, but does anyone have a favorite Regular
> >Expression Library that can be included along with ITK and VTK easily
> >using cmake.  If so, I'd appreciate the cmake lines as well.  I'm
> >using Python to do the trick right now, but things would be a lot
> >cleaner to have it all integrated in the main file.
> >
> >Thanks,
> >Matt
> >_______________________________________________
> >Insight-users mailing list
> >Insight-users at itk.org
> >http://www.itk.org/mailman/listinfo/insight-users
> >
> >
> >
>


More information about the Insight-users mailing list