Re: Bug#912745: ITP: libregexp-wildcards-perl -- converts wildcard expressions to Perl regular expressions

2018-11-03 Thread Jonathan Dowland

On Sat, Nov 03, 2018 at 04:25:15PM +0100, Christoph Biedl wrote:

s/joker/wildcard/ ?


Not sure here. Seems in English "joker" is unusual to describe a
wildcard, unlike other languages. If some native English speaker
could comment?


In English, in the context of a deck of cards, Joker and Wildcard
describe the same thing. Although the use of the term wildcard in globs
etc. likely derives from the use in decks of cards, it's so far removed
now that the original meaning doesn't come to mind, and Joker seems out
of place.



Re: Bug#912745: ITP: libregexp-wildcards-perl -- converts wildcard expressions to Perl regular expressions

2018-11-03 Thread Christoph Biedl
Jakub Wilk wrote...

> * Christoph Biedl , 2018-11-03, 12:41:

Thanks for proof-reading. Both issues you've reported are upstream, of
course I'll bring them there.

> > It handles the * and ? jokers,
>
> s/joker/wildcard/ ?

Not sure here. Seems in English "joker" is unusual to describe a
wildcard, unlike other languages. If some native English speaker
could comment?

> > Backspace (\) is used as an escape character.
>
> I like the idea of backspace as escape character, but you probably meant
> "backslash" here. :-)

Nice idea indeed ...

Christoph


signature.asc
Description: PGP signature


Re: Bug#912745: ITP: libregexp-wildcards-perl -- converts wildcard expressions to Perl regular expressions

2018-11-03 Thread Jakub Wilk

* Christoph Biedl , 2018-11-03, 12:41:

It handles the * and ? jokers,


s/joker/wildcard/ ?


Backspace (\) is used as an escape character.


I like the idea of backspace as escape character, but you probably meant 
"backslash" here. :-)


--
Jakub Wilk



Bug#912745: ITP: libregexp-wildcards-perl -- converts wildcard expressions to Perl regular expressions

2018-11-03 Thread Christoph Biedl
Package: wnpp
Severity: wishlist
Owner: Christoph Biedl 

* Package name: libregexp-wildcards-perl
  Version : 1.05
  Upstream Author : Vincent Pit 
* URL : https://metacpan.org/pod/Regexp::Wildcards
* License : Artistic or GPL-1+
  Programming Lang: Perl
  Description : converts wildcard expressions to Perl regular expressions

(as created by dh-make-perl)

 In many situations, users may want to specify patterns to match but don't
 need the full power of regexps. Wildcards make one of those sets of
 simplified rules. Regexp::Wildcards converts wildcard expressions to Perl
 regular expressions, so that you can use them for matching.
 .
 It handles the * and ? jokers, as well as Unix bracketed alternatives {,},
 but also % and _ SQL wildcards. If required, it can also keep original (...)
 groups or ^ and $ anchors. Backspace (\) is used as an escape character.
 .
 Typesets that mimic the behaviour of Windows and Unix shells are also
 provided.



signature.asc
Description: PGP signature