[ITK] RegularExpressionSeriesFileNames
Bill Lorensen
bill.lorensen at gmail.com
Wed Mar 8 15:26:08 EST 2017
Are you using the example code or your own code? Are you passing the RE on
the command line or is it hard coded in the code?
On Mar 8, 2017 2:57 PM, "Fijoy Vadakkumpadan" <tofijoy at gmail.com> wrote:
> Hello,
>
> I'd like to use the RegularExpressionSeriesFileNames class to generate a
> list of sorted file names in a directory, but having some difficulties. In
> a toy example that I'm experimenting with, my directory has the following
> files:
>
> 3 a a1 ab1 b b1 c c1 cd
>
> Here are 2 regular expressions that I tried and the file names they match:
>
> (1) expression [^ab1-9] matches c1, c, and cd
>
> (2) expression [^ab1-9]$ matches c and cd
>
> According to documentation, (1) makes sense to me, but (2) does not.
> Specifically, (2) should not have cd as a match, since $ matches
> end-of-line (and not d). Am I missing something?
>
> Documentation I'm looking at: https://itk.org/Doxygen/html/Examples_2IO_
> 2ImageSeriesReadWrite2_8cxx-example.html#_a3
>
> Is there additional documentation for the class that will help?
>
> Thanks,
> --Fijoy
>
> _______________________________________________
> Community mailing list
> Community at itk.org
> http://public.kitware.com/mailman/listinfo/community
>
>
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://public.kitware.com/pipermail/community/attachments/20170308/2c637a0e/attachment.html>
More information about the Community
mailing list