[fpc-pascal] IsValidIdent() with dots
Michael Van Canneyt
michael at freepascal.org
Wed Mar 23 09:49:50 CET 2016
On Wed, 23 Mar 2016, Juha Manninen wrote:
> Is there a function like IsValidIdent but accepting also dots (.),
> as in name "TForm1.Action1Execute"?
> While fixing a bug:
> I copied and modified IsValidIdent.
> It was easy to do, sure, but I would prefer to reuse an existing
> function especialy because this looks like a common use case.
> Codetools has a suitable IsDottedIdentifier() but I need it in IDEIntf
> code which must not depend on Codetools.
IsValidIdent in sysutils handles dots.
More information about the fpc-pascal