List for cgit developers and users
 help / color / mirror / Atom feed
* regular expression in search
@ 2014-08-23 13:49 william.bell
  2014-08-25 16:45 ` john
  0 siblings, 1 reply; 3+ messages in thread
From: william.bell @ 2014-08-23 13:49 UTC (permalink / raw)


Hi

I would like to use a regular expression in the search field as in gitweb.

Can this be achieved with filters?

Regards


^ permalink raw reply	[flat|nested] 3+ messages in thread

* regular expression in search
  2014-08-23 13:49 regular expression in search william.bell
@ 2014-08-25 16:45 ` john
  2014-08-26 18:59   ` william.bell
  0 siblings, 1 reply; 3+ messages in thread
From: john @ 2014-08-25 16:45 UTC (permalink / raw)


On Sat, Aug 23, 2014 at 03:49:52PM +0200, William Bell wrote:
> I would like to use a regular expression in the search field as in
> gitweb.

What do you mean by this?  The "log msg", "author" and "committer"
searches already take regular expressions.

Do you mean a pickaxe search option?


^ permalink raw reply	[flat|nested] 3+ messages in thread

* regular expression in search
  2014-08-25 16:45 ` john
@ 2014-08-26 18:59   ` william.bell
  0 siblings, 0 replies; 3+ messages in thread
From: william.bell @ 2014-08-26 18:59 UTC (permalink / raw)


Hi

I did not realize it could do a regular expressions!

The problem is as follows. If I put in a regular expression in the main 
index screen (which lists all the various repo's), to search for a repo 
beginning with git which would be ^git but it returns the following:
cgit/?q=^git
instead of
cgit/?qt=grep&q=^git

It does work but for this screen it does not detect that it is a regular 
expression.

Regards


On 08/25/2014 06:45 PM, John Keeping wrote:
> On Sat, Aug 23, 2014 at 03:49:52PM +0200, William Bell wrote:
>> I would like to use a regular expression in the search field as in
>> gitweb.
> What do you mean by this?  The "log msg", "author" and "committer"
> searches already take regular expressions.
>
> Do you mean a pickaxe search option?
>



^ permalink raw reply	[flat|nested] 3+ messages in thread

end of thread, other threads:[~2014-08-26 18:59 UTC | newest]

Thread overview: 3+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2014-08-23 13:49 regular expression in search william.bell
2014-08-25 16:45 ` john
2014-08-26 18:59   ` william.bell

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for NNTP newsgroup(s).