34 lines · 424 B · Perl
RawDownload
#!/usr/bin/perl# SPDX-License-Identifier: GPL-2.0 @regexps = @ARGV; $quiet = 1;$quiet = 0 if (defined $ENV{TESTLOG_VERBOSITY} && $ENV{TESTLOG_VERBOSITY} ge 2); %found = ();$passed = 1; while (<STDIN>){	s/\n//; 	for $r (@regexps)	{		if (/$r/)		{			$found{$r} = 1;		}	}} for $r (@regexps){	if (exists $found{$r})	{		print "Regexp found: \"$r\"\n" unless $quiet;		$passed = 0;	}} exit ($passed == 0);

Keyboard shortcuts

General

Show keyboard shortcuts
?
Focus the current search
/

Issues and pull requests

Open filters
f

Issues, pull requests and Inbox

Select next item
j↓
Select previous item
k↑
Open selected item
Enter
Dismiss filters or clear selection
Esc

Repository code

Go to file
t