You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
The dot character doesn't mean "any character" in this regex language, as
explained by Ivan. The purpose of this tool is primarily to help visualize
how regular expressions get translated into automata. To that end, the
language for defining regular expressions is minimal, and doesn't support
the myriad of shortcuts that exist in regex engines in most programming
languages, the purpose of which is to actually match text with regexes
written as succintly as possible. Any regular expression can be written in
this minimal notation as well, though.
The advantage of using a minimal language for defining regular expressions
is that you can explain all the rules to someone who's never heard of
regular expressions
in a few minutes, and they can memorize the rules and use the tool
immediately.
There are plenty of other regex engines out there with different goals in
mind, and I'm sure you can find one that does whatever it is you want to
do.
Cheers!
On Thu, Mar 15, 2018, 08:24 tgregoneil ***@***.***> wrote:
If the . character is like any other character as you previously
mentioned, then what's the point of your definition of a regular
expression? . means any character (except newline), not the literal
period symbol. If you delete this again I won't re-post. I'm not big on
critical posts either and understand if you delete it.
—
You are receiving this because you are subscribed to this thread.
Reply to this email directly, view it on GitHub
<#21 (comment)>, or mute
the thread
<https://github.com/notifications/unsubscribe-auth/AA2ubAAXqRppFSP2u2OneSDNaw0Y3qJxks5tehc3gaJpZM4SrqAn>
.
No description provided.
The text was updated successfully, but these errors were encountered: