Comments (8)
interesting... I can clearly reproduce the issue in production... working as expected on my sandbox
wonder if it s not coming from the git version, going to try to use the system one
from metacpan-grep-front-end.
Also for the sake of clarity, it would be a good idea to label the search as PCRE regex, as git does not use Perl regex.
from metacpan-grep-front-end.
Also for the sake of clarity, it would be a good idea to label the search as PCRE regex, as git does not use Perl regex.
@Grinnz the interesting thing about that is that the git grep command line option is actually: "--perl-regexp"
from metacpan-grep-front-end.
Yes, but it is mislabeled. The man page specifies that it is linking to libpcre.
from metacpan-grep-front-end.
/usr/bin/git grep -l -P 'sub\s' -- distros/
fatal: cannot use Perl-compatible regexes when not compiled with USE_LIBPCRE
from metacpan-grep-front-end.
git was not compiled with lib-pcre on the server, need to recompile it with pure among other dependencies, looks ok now in production
from metacpan-grep-front-end.
git build process for 2.13.3:
USE_LIBPCRE=YesPlease NO_TCLTK=1 ./configure --prefix=/home/toddr/git --with-libpcre && make -j18 install
from metacpan-grep-front-end.
For informations, after recompiling a few requires libraries, here is the command I run to recompile git in my user directory with pure support
CPPFLAGS=-I/home/atoomic/include LDFLAGS=-L/home/atoomic/lib ./configure --prefix=/home/atoomic/ --with-libpcre --without-tcltk
List of required dependencies:
- m4 ( required for autoconf )
- autoconf ( yes really )
- pcre (used 8.41)
- gettext (used 0.19.8.1)
and then git itself (version 2.13.3)
from metacpan-grep-front-end.
Related Issues (20)
- grep is returning wrong stuff: it's buggy HOT 3
- link to the full source view for each match HOT 5
- Search does not work at all HOT 1
- JS error preventing display of results when using "in distro like" filter HOT 2
- Page and recent searches links are not encoded properly HOT 3
- No results displayed for queries HOT 4
- Regex guessing thinks | is a regular character HOT 1
- Result count is confusing HOT 1
- Set an alarm when running "git grep" HOT 2
- Header bar for grep.metacpan doesn't match metacpan
- test
- Provide a file matching feature to the front end like grep.cpan.me HOT 4
- Add a checkbox to exclude Devel::PPPort matches HOT 5
- Consider using ripgrep instead of git grep HOT 1
- (Add an option to) ignore inc/ directory HOT 19
- Ability to ignore a particular filename/path HOT 2
- Search says 2 distributions match, but nothing is listed HOT 10
- grep reports more distributions than it lists HOT 2
- first search produces 503 error HOT 6
- repo updates on bm-mc-02 to not seem to be updating grep.metacpan.org. HOT 1
Recommend Projects
-
React
A declarative, efficient, and flexible JavaScript library for building user interfaces.
-
Vue.js
🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
-
Typescript
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
-
TensorFlow
An Open Source Machine Learning Framework for Everyone
-
Django
The Web framework for perfectionists with deadlines.
-
Laravel
A PHP framework for web artisans
-
D3
Bring data to life with SVG, Canvas and HTML. 📊📈🎉
-
Recommend Topics
-
javascript
JavaScript (JS) is a lightweight interpreted programming language with first-class functions.
-
web
Some thing interesting about web. New door for the world.
-
server
A server is a program made to process requests and deliver data to clients.
-
Machine learning
Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.
-
Visualization
Some thing interesting about visualization, use data art
-
Game
Some thing interesting about game, make everyone happy.
Recommend Org
-
Facebook
We are working to build community through open source technology. NB: members must have two-factor auth.
-
Microsoft
Open source projects and samples from Microsoft.
-
Google
Google ❤️ Open Source for everyone.
-
Alibaba
Alibaba Open Source for everyone
-
D3
Data-Driven Documents codes.
-
Tencent
China tencent open source team.
from metacpan-grep-front-end.