equal
deleted
inserted
replaced
30 * The lines form a doubly linked list for simple navigation. |
30 * The lines form a doubly linked list for simple navigation. |
31 */ |
31 */ |
32 public class MessageLine { |
32 public class MessageLine { |
33 |
33 |
34 static final Pattern emptyOrCommentPattern = Pattern.compile("( *#.*)?"); |
34 static final Pattern emptyOrCommentPattern = Pattern.compile("( *#.*)?"); |
35 static final Pattern typePattern = Pattern.compile("[-\\\\'A-Z\\.a-z ]+( \\([A-Za-z 0-9]+\\))?"); |
35 static final Pattern typePattern = Pattern.compile("[-\\\\'A-Z\\.a-z ]+( \\([-A-Za-z 0-9]+\\))?"); |
36 static final Pattern infoPattern = Pattern.compile(String.format("# ([0-9]+: %s, )*[0-9]+: %s", |
36 static final Pattern infoPattern = Pattern.compile(String.format("# ([0-9]+: %s, )*[0-9]+: %s", |
37 typePattern.pattern(), typePattern.pattern())); |
37 typePattern.pattern(), typePattern.pattern())); |
38 |
38 |
39 public String text; |
39 public String text; |
40 MessageLine prev; |
40 MessageLine prev; |