X-Git-Url: http://source.jalview.org/gitweb/?a=blobdiff_plain;f=src%2Fcom%2Fstevesoft%2Fpat%2FFileRegex.java;h=06a52667e1568e6b5c1da6e42acd34056bb052eb;hb=57738a1f3c19b1c3a00bd3ac5108f8cd0af32f99;hp=fa57795cdf887258b1a2dbdfe24d9863c6fc83bf;hpb=e7338a61f3ce96dadf44ac80b2b32cc5ba4b94c8;p=jalview.git diff --git a/src/com/stevesoft/pat/FileRegex.java b/src/com/stevesoft/pat/FileRegex.java index fa57795..06a5266 100755 --- a/src/com/stevesoft/pat/FileRegex.java +++ b/src/com/stevesoft/pat/FileRegex.java @@ -50,8 +50,8 @@ import java.util.Vector; * Note that a FileRegex pattern always ends with the Regex pattern * element "$". If you like to experiment, try making FileRegex's and then * printing them out. The toString() method does a decompile of the pattern to a - * standard Regex. Here are some more complete examples:
- * + * standard Regex. Here are some more complete examples:
* * * @@ -162,8 +162,8 @@ public class FileRegex extends Regex return sa; } - final static Regex root = new Regex(File.separatorChar == '/' ? "/$" - : "(?:.:|)\\\\$"); + final static Regex root = new Regex( + File.separatorChar == '/' ? "/$" : "(?:.:|)\\\\$"); static void list1(String path, Vector v, int df, boolean rec) {
FileRegexRegex