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 <a 13 * href="http://javaregex.com/code/WantMore.java.html">WantMore.java</a>. 14 */ 15 public class WantMoreTextReplaceRule extends SpecialRule 16 { WantMoreTextReplaceRule()17 public WantMoreTextReplaceRule() 18 { 19 } 20 apply(StringBufferLike sb, RegRes res)21 public void apply(StringBufferLike sb, RegRes res) 22 { 23 } 24 toString1()25 public String toString1() 26 { 27 return "${WANT_MORE_TEXT}"; 28 } 29 } 30