Re: Why can't node IDs start with a number?

View: New views
1 Messages — Rating Filter:   Alert me  

Parent Message unknown Re: Why can't node IDs start with a number?

by B. Kamer :: Rate this Message:

Reply to Author | View Threaded | Show Only this Message

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@...>  
<subs@...> 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@...
> http://lists.binarycloud.com/mailman/listinfo/dev

_______________________________________________
dev mailing list
dev@...
http://lists.binarycloud.com/mailman/listinfo/dev
LightInTheBox - Buy quality products at wholesale price