September 16, 2019
https://issues.dlang.org/show_bug.cgi?id=20217

Adam D. Ruppe <destructionator@gmail.com> changed:

           What    |Removed                     |Added
----------------------------------------------------------------------------
             Status|NEW                         |RESOLVED
                 CC|                            |destructionator@gmail.com
         Resolution|---                         |INVALID

--- Comment #1 from Adam D. Ruppe <destructionator@gmail.com> ---
Note that there's no such thing as a regex literal in D, they are just different types of strings. The r"xxx" string  specifically does not have escaping. If you want that, you can try plain "" strings. Or if you want to go raw, use the `string`.

But the key thing to remember is they are all strings, there's nothing special about using it with the regex function.

--
September 16, 2019
https://issues.dlang.org/show_bug.cgi?id=20217

--- Comment #2 from MarkSill <marksillweb@gmail.com> ---
Ah, that makes much more sense. It wasn't clear to me that they were the same when I was reading https://dlang.org/articles/regular-expression.html, though reading it again, there are two examples of using regex without the r"" prefix.

--