[erlang-questions] Allowed node names
Tue Jun 3 16:58:50 CEST 2008
The "steenking comment" is right above the code of is_node_name() :)
On Tue, Jun 3, 2008 at 10:53 AM, Vlad Dumitrescu <> wrote:
> Well, I admit I didn't find that, but got to the actual implementation of
> is_node_name(), which is actually reading the code, not some stinking
> comment :-)
> On Tue, Jun 3, 2008 at 4:51 PM, Edwin Fine <>
>> Gosh, Vlad, how can you say it is not documented? I mean, it clearly
>> states in the comments to the Erlang C source code in
>> erts/emulator/beam/dist.c that
>> ** n must be a valid node name: string of ([a-z][A-Z][0-9]_-)+
>> It only took me 20 minutes to track this down. Don't you know, Real
>> Programmers Don't Need No Steenking Documentation, They Just Read The Code
>> *(Disclaimer: In case anyone inadvertently takes this rant literally and
>> gets ticked off, it was written with heavy irony and tongue firmly in
>> 2008/6/3 Vlad Dumitrescu <>:
>>> I couldn't find any documentation regarding which node names are allowed,
>>> so I had to trace it down in the emulator code.
>>> Node names must conform to the following regexp: [a-zA-Z0-9_-]+
>>> Maybe it should be added to the docs.
>>> ....( )/ ( )...
>>> erlang-questions mailing list
-------------- next part --------------
An HTML attachment was scrubbed...
More information about the erlang-questions