From @duncan
replace.java : Replace a files text [from] [to] with the use of regex patterns. For files that match the specified glob pattern within a dictated directory traversal depth.
# replace 1 regex text "glob"
$ replace 9 [tT]rue|[fF]alse Maybe "*.{hs,cpp,kt,java,html}"
> n: from -> to: n+k -> fileName.ext
On the JVM
with security conscientious implementation.