Finding folder names - regex puzzle
Posted: 08 May 2015 21:26
XY Ver. 15.10.0002 // Find Files | Name & Location // Mode: RegExp
I'm trying to find folders with names that contain two digits separated by a comma and a space eg: "reports 1, 2 from fall"
When I use this regex:
([0-9])(, )([0-9])
or this one:
([0-9])(,)(\ )([0-9])
XY finds all files with this criterion, but no folders.
If I remove the space in the regex:
([0-9])(,)([0-9])
XY finds all files and folders that have digits separated only by a comma, as expected.
Any idea why the first regex above (with the space) works with files but not with folders? Bug, or something I'm missing?
I'm trying to find folders with names that contain two digits separated by a comma and a space eg: "reports 1, 2 from fall"
When I use this regex:
([0-9])(, )([0-9])
or this one:
([0-9])(,)(\ )([0-9])
XY finds all files with this criterion, but no folders.
If I remove the space in the regex:
([0-9])(,)([0-9])
XY finds all files and folders that have digits separated only by a comma, as expected.
Any idea why the first regex above (with the space) works with files but not with folders? Bug, or something I'm missing?