Re: Why can't node IDs start with a number?
"B. Kamer" <[email protected]> Sun, 15 Jan 2006 20:25:36 +0100
| Newsgroups | gmane.comp.lib.binarycloud.devel |
|---|---|
| Message-ID | <[email protected]> |
hello, I don't believe there is a specific reason why this is as it is... change /^[a-zA-Z_][a-zA-Z0-9_]*$/ to /^[a-zA-Z0-9_]*$/ and test if thing work. Unless there a problem arises, it could be changed in cvs. Do you have a reason you would like to use numbers first? bas On Jan 11, 2006, at 7:30 PM, <subs-9vHHI2gO/[email protected]> <subs-9vHHI2gO/[email protected]> wrote: > > Hi, > > According to Node.php, node IDs must match /^[a-zA-Z_][a-zA-Z0-9_]*$/. > Is there a particular reason why they cannot start with a number? I > can't see anywhere that the IDs need to conform to PHP function/method > naming rules, unless I've missed something obvious. > > Cheers, > Ben > > > _______________________________________________ > dev mailing list > dev-PnctHDZWAvB/Cz2I37pSEPZ4XP/[email protected] > http://lists.binarycloud.com/mailman/listinfo/dev _______________________________________________ dev mailing list dev-PnctHDZWAvB/Cz2I37pSEPZ4XP/[email protected] http://lists.binarycloud.com/mailman/listinfo/dev