In the function is_reserved() in ubbt.inc.php there is this line:

$rname = preg_quote($rname,"/");

And it seems to me that this makes it impossible to use wildcards in the reserved name list. The documentation of the feature on the control panel reads:


Use (.*?) for wildcard matches. Example:
bob(.*?) matches any name starting with bob.


It seems like the example is wrong, or hard to understand exactly what you're supposed to type to get this to work. After removing the preg_quote line, the reserved name list becomes a list of regular expressions to deny. Otherwise, I don't understand how to use wildcards. Is the existance of the preg_quote line a bug?