Database Doctrine2 Gedmo SLUGABLE行为,将分隔符更改为"+&引用;

Database Doctrine2 Gedmo SLUGABLE行为,将分隔符更改为"+&引用;,database,symfony,doctrine-orm,behavior,Database,Symfony,Doctrine Orm,Behavior,我正在尝试将默认分隔符更改为“+” 它不工作,我得到以下错误: [Symfony\Component\Debug\Exception\ContextErrorException] Warning: preg_match(): Compilation failed: nothing to repeat at offset 24 当尝试用“\+”转义“+”时,我不再有此错误,但在数据库中我得到以下信息: my\+slug 双转义“\\”也是一样。有什么想法吗?肮脏的黑客,当取消激活唯一

我正在尝试将默认分隔符更改为“+”

它不工作,我得到以下错误:

[Symfony\Component\Debug\Exception\ContextErrorException]
Warning: preg_match(): Compilation failed: nothing to repeat at offset 24     
当尝试用“\+”转义“+”时,我不再有此错误,但在数据库中我得到以下信息:

my\+slug

双转义“\\”也是一样。有什么想法吗?

肮脏的黑客,当取消激活唯一约束时,错误不会发生

 * @Gedmo\Slug(fields={"label"}, separator="+", unique=false)

你在github上报道过吗?是的,
 * @Gedmo\Slug(fields={"label"}, separator="+", unique=false)