vim-php/phpctags — pull request #24 by mklishevich (2013-11-04 17:59:10+00:00)
Title: Multiple --exclude options and jumping to lines, containing slashes

I had a couple of issues with phpctags.

The first one is that it did not receive multiple exclude options, which is possible with regular ctags, so result of next command was not the one I was expecting for:

phpctags -R --exclude=".git" --exclude="tmp/yii/tests/" --exclude="tmp/yii/requirements" --exclude='yiilite.php' .

The second problem was that it does not escape slashes, when they occur in the php code. For example, let's say we have next code in our project:

```php
$yii=dirname(__FILE__).'/../../framework/yii.php';
```

Above command would produce next result:

yii /home/dev/lib/yii/demos/blog/index.php /^$yii=dirname(__FILE__).'/../../framework/yii.php';$/;" v line:4

whereas the proper result should be:

yii /home/dev/lib/yii/demos/blog/index.php /^$yii=dirname(__FILE__).'\/..\/..\/framework\/yii.php';$/;" v line:4

Because of those slashes in the pattern, it was not possible to jump to appropriate tags and it caused "Not an editor command" error in vim.