Regular Expressions on the Package Search Page

classic Classic list List threaded Threaded
3 messages Options
Reply | Threaded
Open this post in threaded view
|  
Report Content as Inappropriate

Regular Expressions on the Package Search Page

Buchbinder, Barry (NIH/NIAID) [E]
On the Cygwin Package Search page
<https://cygwin.com/cgi-bin2/package-grep.cgi>
either regular expression matching doesn't work or way to let the
search engine know that one is looking for a regex needs to be
documented.

Found 769 matches for /usr/share/
Found 0 matches for ^/usr/share/
Found 0 matches for ^/usr/share
Found 0 matches for ^\/usr\/share\/
Found 0 matches for \^\/usr\/share\/
Found 0 matches for \^/usr/share/

Thanks,

- Barry
  Disclaimer: Statements made herein are not made on behalf of NIAID.


--
Problem reports:       http://cygwin.com/problems.html
FAQ:                   http://cygwin.com/faq/
Documentation:         http://cygwin.com/docs.html
Unsubscribe info:      http://cygwin.com/ml/#unsubscribe-simple

Reply | Threaded
Open this post in threaded view
|  
Report Content as Inappropriate

Re: Regular Expressions on the Package Search Page

Achim Gratz
Buchbinder, Barry (NIH/NIAID) [E] writes:
> On the Cygwin Package Search page
> <https://cygwin.com/cgi-bin2/package-grep.cgi>
> either regular expression matching doesn't work or way to let the
> search engine know that one is looking for a regex needs to be
> documented.

You rather have the wrong expectations w.r.t. the text you are
attempring to match.

> Found 769 matches for /usr/share/

If you click on one of those results you'll see that the only thing this
matches are symlink targets.  The actual file paths don't start with a
slash (they are relative to /) and they are not the beginning of a line
either.


Regards,
Achim.
--
+<[Q+ Matrix-12 WAVE#46+305 Neuron microQkb Andromeda XTk Blofeld]>+

SD adaptations for KORG EX-800 and Poly-800MkII V0.9:
http://Synth.Stromeko.net/Downloads.html#KorgSDada

--
Problem reports:       http://cygwin.com/problems.html
FAQ:                   http://cygwin.com/faq/
Documentation:         http://cygwin.com/docs.html
Unsubscribe info:      http://cygwin.com/ml/#unsubscribe-simple

Reply | Threaded
Open this post in threaded view
|  
Report Content as Inappropriate

RE: Regular Expressions on the Package Search Page

Buchbinder, Barry (NIH/NIAID) [E]
Achim Gratz sent the following at Tuesday, August 01, 2017 2:22 PM

>
>> On the Cygwin Package Search page
>> <https://cygwin.com/cgi-bin2/package-grep.cgi>
>> either regular expression matching doesn't work or way to let the
>> search engine know that one is looking for a regex needs to be
>> documented.
>
>Buchbinder, Barry (NIH/NIAID) [E] writes:
>
>You rather have the wrong expectations w.r.t. the text you are
>attempring to match.
>> Found 769 matches for /usr/share/
>
>If you click on one of those results you'll see that the only thing this
>matches are symlink targets. The actual file paths don't start with a
>slash (they are relative to /) and they are not the beginning of a line
>either.

Ahhh .....

Thanks.

- Barry
  Disclaimer: Statements made herein are not made on behalf of NIAID.

--
Problem reports:       http://cygwin.com/problems.html
FAQ:                   http://cygwin.com/faq/
Documentation:         http://cygwin.com/docs.html
Unsubscribe info:      http://cygwin.com/ml/#unsubscribe-simple

Loading...