Skip to content
Snippets Groups Projects
Commit ff64f7dd authored by felmer's avatar felmer
Browse files

change default pattern (ONE_OR_MORE_DIGITS) for file name generation

SVN: 3813
parent 21d15846
No related branches found
No related tags found
No related merge requests found
...@@ -636,7 +636,7 @@ public final class FileUtilities ...@@ -636,7 +636,7 @@ public final class FileUtilities
} }
/** A <i>Java</i> pattern matching one or more digits. */ /** A <i>Java</i> pattern matching one or more digits. */
private final static Pattern ONE_OR_MORE_DIGITS = Pattern.compile("(\\d+)"); private final static Pattern ONE_OR_MORE_DIGITS = Pattern.compile(".*(\\d+)$");
public final static File createNextNumberedFile(File path, Pattern regex) public final static File createNextNumberedFile(File path, Pattern regex)
{ {
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment