| Class | Line # | Actions | |||
|---|---|---|---|---|---|
| WantMoreTextReplaceRule | 15 | 1 | 3 |
| 1 | // | |
| 2 | // This software is now distributed according to | |
| 3 | // the Lesser Gnu Public License. Please see | |
| 4 | // http://www.gnu.org/copyleft/lesser.txt for | |
| 5 | // the details. | |
| 6 | // -- Happy Computing! | |
| 7 | // | |
| 8 | package com.stevesoft.pat; | |
| 9 | ||
| 10 | /** | |
| 11 | * Triggers the reading of another line of text, allowing a longer pattern to | |
| 12 | * match -- for details see | |
| 13 | * <a href="http://javaregex.com/code/WantMore.java.html">WantMore.java</a>. | |
| 14 | */ | |
| 15 | public class WantMoreTextReplaceRule extends SpecialRule | |
| 16 | { | |
| 17 | 0 | public WantMoreTextReplaceRule() |
| 18 | { | |
| 19 | } | |
| 20 | ||
| 21 | 0 | public void apply(StringBufferLike sb, RegRes res) |
| 22 | { | |
| 23 | } | |
| 24 | ||
| 25 | 0 | public String toString1() |
| 26 | { | |
| 27 | 0 | return "${WANT_MORE_TEXT}"; |
| 28 | } | |
| 29 | } |