Support simple glob patterns for ignore rules#106
Support simple glob patterns for ignore rules#106devongovett merged 14 commits intoparcel-bundler:masterfrom joaomoreno:glob
Conversation
|
This looks like a good start. Are you planning to continue work on it? |
|
Definitely planning to continue this, apologies for the silence. Very busy over here lately. |
|
HI, @joaomoreno thanks for your contribution ~ I'm facing the same issue liked: microsoft/vscode#151827. When I watch a large project with a big I looked at your code and found that it did not handle this well, have you considered applying |
|
@devongovett do you have any suggestions here? |
|
It took us the longest time to understand test failures on Linux and we still cannot fully explain them but may now have found a workaround. A bit of detail: we use The result of For a strange reason, on Linux only, this pattern would not match on simple input such as In the end I asked SO (https://stackoverflow.com/questions/74796098/c-regular-expression-with-negative-lookahead-and-matches-on-macos-but-not-l) but did not get a good answer. The verdict is to set |
|
Is it platform specific or compiler specific? You mentioned you compiled with clang on macOS and gcc on Linux. See if gcc on macOS has the same issue? Anyway, sounds like a possible compiler bug to me. Edit: or maybe standard library bug? |
|
Yeah good point, I would totally put my money on compiler specific and not platform specific, but have not verified yet. One thing we did try is to use newer versions of GCC (up to 11) to see if it still reproduces and there was no difference. https://godbolt.org/ is a great playground to check (e.g. https://godbolt.org/z/YK6GhKcqx). |
|
@devongovett I think this is good now for a review from you (Joao is out today, but he will mark the PR as non-draft later). Besides the trouble with the complex regex where we now have the
Some discussion items to you:
|
|
Awesome! I'll take a look soon. |
|
Hi @devongovett (happy new year!). Was wondering if you had a chance to review 👍 |
devongovett
left a comment
There was a problem hiding this comment.
Code looks good! I'll test it out later tonight and get a release out for you this week. Thanks again for working on this. 😍
|
@devongovett wonderful ❤️ |
Fixes #64