On 3/13/13, Jure Zitnik <[email protected]> wrote: > On 3/13/13 5:18 AM, Branko Čibej wrote: >> On 13.03.2013 05:08, Olemis Lang wrote: >>> On 3/12/13, [email protected] <[email protected]> wrote: >>>> Author: jure >>>> Date: Tue Mar 12 15:15:22 2013 >>>> New Revision: 1455576 >>>> >>>> URL: http://svn.apache.org/r1455576 >>>> Log: >>>> Renamed default product to '@', >>> @jure: why ? >> Because it's a token that is forbidden as a product tag and therefore >> cannot conflict with existing product names.
I'll ask the negation of the negation . Why is it that we'll have to apply this change instead of sticking to '' as global prefix? > > Brane, I double checked and currently there's no prefix checking on > product creation, though we should add one to prevent someone from > adding product with funky prefixes, including the reserved '@' ... I > think '^[a-zA-Z0-9_]+$' would suffice for now. > -0 ... I'd suggest (?:(?!\d)\w+) ... which is already available in multiproduct.util.IDENTIFIER after recent patches . -- Regards, Olemis.
