kien/ctrlp.vim — pull request #42 by mattn (2011-11-30 09:29:08+00:00)
Title: Fix migemo

When using Migemo, it can't match to wild pattern.
For example,

````
test1/XXXX.txt
test2/XXXXfoo.txt
test2/XXXXbar.txt
````

XXXX is multi-byte words. And YYYY is source to match XXXX that user will types.
Currently, ctrlp is treating the input string as whole string for migemo parameter, so we can't match files below in once.

````
test2/XXXXfoo.txt
test2/XXXXbar.txt
----------------------------
>>> test2
-------------- can't continue the pattern to match XXXX
````

````
test1/XXXXX.txt
test2/XXXXfoo.txt
test2/XXXXbar.txt
----------------------------
>>> YYYY
-------------- match with migemo, but can't include pattern for testX.
```

Then, I added bits change.

```
test2/XXXXfoo.txt
----------------------------
>>> test YYYY foo
-------------- nice! :)
````

And I added check wheter s:regexp is set or not for migemo.
Then, we can switch the modes with CTRL+R.

Thanks.