added substitution

now you can use s/\<query\>/\<replacement\>/[g]