Here is a regex description of what a valid email should look like.

/^[a-zA-Z0-9_\.\-]+\@([a-zA-Z0-9\-]+\.)+([a-zA-Z0-9]{2,4})+$/

-Nate


Neil Hodgson wrote:

  I'm still not sure about this feature but do have some comments.

  The INDIC_MAX definition is actually for the number of bits that
could potentially be used as indicators, not for the number of
indicator styles, so should be left at 7 although the maximum is
really 2 ( to allow indicators 0, 1, and 2).

  Unlike Visual Studio, the hyperlinks look more active than they
are. When I see them go blue and change the cursor, it looks like a
simple click will action them rather than requiring a Ctrl+Click.
Possibly the highlighting could be dependent on the Ctrl button being
down.

  The URL recognition code should be in a separate file and there
should be an API to turn it on or off. If it is off then other code,
possibly in the container could define its own idea of hyperlinked
hotspots such as function names. It also takes time to perform the
recognition.

  The URL action in SciTE should use the standard SciTE command
mechanism rather than hard coding ShellExec as that would allow people
to filter through a script or hook up to a non-standard browser such
as a help viewer.

  URL recognition of mail addresses can conflict with DOC comment
keywords @x and should probably require a non-space (or alphanumeric?)
before the @.

  Neil

_______________________________________________
Scintilla-interest mailing list
[email protected]
http://mailman.lyra.org/mailman/listinfo/scintilla-interest
_______________________________________________
Scintilla-interest mailing list
[email protected]
http://mailman.lyra.org/mailman/listinfo/scintilla-interest

Reply via email to