bug-global
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: GNU Global Parsing Suffixless Files Patch


From: Shigio YAMAGUCHI
Subject: Re: GNU Global Parsing Suffixless Files Patch
Date: Sat, 1 Oct 2016 08:17:00 +0900

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

--
Shigio YAMAGUCHI <address@hidden>
PGP fingerprint: D1CB 0B89 B346 4AB6 5663  C4B6 3CA5 BBB3 57BE DDA3

reply via email to

[Prev in Thread] Current Thread [Next in Thread]