0

My question is very simple, I'm working on a project where I have to specify a regular expression for a file to be archived.

In the xml file, it has to match the following pattern : EXPORT_CLOTURE_ANEM_SIEGA_[0-9]{14}.csv so basically it's 14 digits between 0 and 9 after the last underscore, that is clear.

Unfortunately, it doesn't accept the following file :

EXPORT_CLOTURE_ANEM_SIEGA_12345678911234.csv

while on the other side it accepts

EXPORT_CLOTURE_ANEM_SIEGA_12345678911131.csv

Anybody got an explication to this?

Wiktor Stribiżew
  • 561,645
  • 34
  • 376
  • 476

0 Answers0