in reply to Re^2: search and replace
in thread search and replace

That's because of the curious character class :)

Within a character class you can use "-" to declare ranges, such as [a-z], but as "s" is later in the alphabet than "r" (somewhat simplified, but I won't go into unicode, locales and stuff here...), the range is invalid.

I'm not going to elaborate on how to fix this, because I'm not convinced yet, that you need this regex at all...