I’m writing this simple substitution method and I have a
providing me with the input text. I have some multiline text:
Which I pass through to my async method in the variable @text.
In the method, my regular expression and gsub matches anything between
asterisks, and put it in brackets:
And this yields:
This is a ok?
How can I get my regexp to stop eating the newlines? As you can see, I
have the multiline flag on. Am I missing something within the actual
regexp? Help would be greatly appreciated. Thanks!