public TextEditor replaceAllLiteral(String regex, final String replacement) {
    """
	Same as replaceAll(String, String), but does not interpret
	$1, $2 etc. in the replacement string.
	@param regex
	@param replacement
	@return
    """
        return replaceAll(Pattern.compile(regex, Pattern.MULTILINE), new Replacement() {
            public String replacement(Matcher m) {
                return replacement;
            }
        });
    }
public TextEditor replaceAllLiteral(String regex, final String replacement) {
        return replaceAll(Pattern.compile(regex, Pattern.MULTILINE), new Replacement() {
            public String replacement(Matcher m) {
                return replacement;
            }
        });
    }
public TextEditor replaceAllLiteral ( String regex , final String replacement ) { return replaceAll ( Pattern . compile ( regex , Pattern . MULTILINE ) , new Replacement ( ) { public String replacement ( Matcher m ) { return replacement ; } } ) ; }
Same as replaceAll(String, String), but does not interpret
$1, $2 etc. in the replacement string.
@param regex
@param replacement
@return
Same as replaceAll ( String String ) but does not interpret $1 $2 etc . in the replacement string .