Open learnor opened 8 years ago
We agree. If you can come up with a Regex that does that, we'd love to see it. It's a non-trivial problem.
https://regex101.com/r/eG1oG7/1 @SaintPeter, If we to do an initial replace on the text something like this might work.
@noncentz That works great for multiline code (```). Great work. What about inline code?
thanks
@SaintPeter , https://regex101.com/r/eG1oG7/6 . We're almost there, it's going to need an edge case for comments too.
Great work, keep it up!
If certain key words like "thanks" "thank you" appear in your code quoted between ``` ````, the camperbot still send brownies to people mentioned.