Before implementation, I would like to make clear the specification.
> Assorted projects I've come across have include and Include (the example below is
> a trivial but a real one relating to MS-Windows) and some even have include dirs
> names XInclude or something similar (can't remember the project now, wasn't X11
> but probably an X client).
Let me ask a couple of questions, please.
Q1: Is the following (1) and (2) equal?
(1) --language-force='cpp:([Ii]nclude)'
(2) --language-force='cpp:inlucde' --language-force='cpp:Inlucde'
If so, you think that (1) is better than (2) since it is shorter?
Q2: Does (1) above match to the followings?
./XXXincludeYYY/
./XXXincludeYYY.php
./project/include/release/
./project/include/release/test.php
Q3: Regex '^' and '$' are available? If so, what does they mean?
Regards,
Shigio