in reply to Re^2: multiple-pass search?
in thread multiple-pass search?
So I take it the filename will have the exact pattern abstract-NNN.tex. If so, the regex you gave is too broad. It will match, for example, nonabstract-000stexts. You need to anchor the beginning and end, and escape the dot: /^abstract-(\d{3})\.tex$/
|
|---|
| Replies are listed 'Best First'. | |
|---|---|
|
Re^4: multiple-pass search?
by propellerhat (Novice) on Dec 10, 2021 at 02:18 UTC | |
by Fletch (Bishop) on Dec 10, 2021 at 13:54 UTC | |
by jdporter (Paladin) on Dec 10, 2021 at 16:11 UTC | |
by propellerhat (Novice) on Dec 10, 2021 at 18:39 UTC |