public static class RegexReplace.Options extends Object
RegexReplace
Modifier and Type | Method and Description |
---|---|
RegexReplace.Options |
replaceGlobal(Boolean replaceGlobal) |
public RegexReplace.Options replaceGlobal(Boolean replaceGlobal)
replaceGlobal
- If True, the replacement is global (that is, all matches of the `pattern` regular
expression in each input string are rewritten), otherwise the `rewrite`
substitution is only made for the first `pattern` match.Copyright © 2015–2019. All rights reserved.