Re: Regular expressions, PCRE [was: Relation(s) between/among Kate, Kwrite, and Katepart]

2025-04-21 Thread debian-user
Nicolas George wrote: > Tom Browder (HE12025-04-21): > > $ time raku -e ‘my $s = “a” x 25; my $r = “a?” x 25 ~ “a” x 25; > > if ($s ~= $r) { say “yes” } ‘ > > I almost asked if Raku uses pairs of Unicode quotes instead of the > symmetrical ASCII one; then I noticed the single quotes, and I

Re: Regular expressions, PCRE [was: Relation(s) between/among Kate, Kwrite, and Katepart]

2025-04-21 Thread Dan Ritter
Nicolas George wrote: > Tom Browder (HE12025-04-21): > > $ time raku -e ‘my $s = “a” x 25; my $r = “a?” x 25 ~ “a” x 25; if > > ($s ~= $r) { say “yes” } ‘ > > I almost asked if Raku uses pairs of Unicode quotes instead of the > symmetrical ASCII one; then I noticed the single quotes, and I kn

Re: Regular expressions, PCRE [was: Relation(s) between/among Kate, Kwrite, and Katepart]

2025-04-21 Thread Tom Browder
On Mon, Apr 21, 2025 at 09:20 Nicolas George wrote: > > Tom Browder (HE12025-04-21): > > $ time raku -e ‘my $s = “a” x 25; my $r = “a?” x 25 ~ “a” x 25; if > > ($s ~= $r) { say “yes” } ‘ > > I almost asked if Raku uses pairs of Unicode quotes instead of the > symmetrical ASCII one; then I noti

Re: Regular expressions, PCRE [was: Relation(s) between/among Kate, Kwrite, and Katepart]

2025-04-21 Thread tomas
On Mon, Apr 21, 2025 at 04:19:43PM +0200, Nicolas George wrote: > Tom Browder (HE12025-04-21): > > $ time raku -e ‘my $s = “a” x 25; my $r = “a?” x 25 ~ “a” x 25; if > > ($s ~= $r) { say “yes” } ‘ > > I almost asked if Raku uses pairs of Unicode quotes instead of the > symmetrical ASCII one; t

Re: Regular expressions, PCRE [was: Relation(s) between/among Kate, Kwrite, and Katepart]

2025-04-21 Thread Nicolas George
Tom Browder (HE12025-04-21): > $ time raku -e ‘my $s = “a” x 25; my $r = “a?” x 25 ~ “a” x 25; if > ($s ~= $r) { say “yes” } ‘ I almost asked if Raku uses pairs of Unicode quotes instead of the symmetrical ASCII one; then I noticed the single quotes, and I know the shell does not. > Raku’s re

Re: Regular expressions, PCRE [was: Relation(s) between/among Kate, Kwrite, and Katepart]

2025-04-21 Thread Tom Browder
On Mon, Apr 21, 2025 at 06:55 wrote: > On Mon, Apr 21, 2025 at 07:34:13AM -0400, Greg Wooledge wrote: > > On Mon, Apr 21, 2025 at 08:04:44 +0200, to...@tuxteam.de wrote: > > > [...] quite possibly Perl's engine has been refined (it definitely has > > > been extended) since then. > > [...] > > > It

Re: Regular expressions, PCRE [was: Relation(s) between/among Kate, Kwrite, and Katepart]

2025-04-21 Thread tomas
On Mon, Apr 21, 2025 at 07:34:13AM -0400, Greg Wooledge wrote: > On Mon, Apr 21, 2025 at 08:04:44 +0200, to...@tuxteam.de wrote: > > [...] quite possibly Perl's engine has been refined (it definitely has > > been extended) since then. [...] > It still has the issue. > > hobbit:~$ time perl -e '$

Re: Regular expressions, PCRE [was: Relation(s) between/among Kate, Kwrite, and Katepart]

2025-04-21 Thread Greg Wooledge
On Mon, Apr 21, 2025 at 08:04:44 +0200, to...@tuxteam.de wrote: > If you like to disappear in rabbit holes, this [3] one is nice. If > not, still the pic at the beginning still shows impressively an > exponential runaway for Perl's re engine compared to Tcl's which > uses a Thompson algorithm. Note

Regular expressions, PCRE [was: Relation(s) between/among Kate, Kwrite, and Katepart]

2025-04-20 Thread tomas
On Mon, Apr 21, 2025 at 12:08:53AM +, David wrote: > On Sun, 20 Apr 2025 at 17:42, wrote: > > On Sun, Apr 20, 2025 at 05:58:31PM +0100, debian-u...@howorth.org.uk wrote: > > > > Err, did you notice the bit in that reference that says: "It documents > > &

Re: base: Fails when i process a simple shell script with regular expressions in Lenny but not in Etch.

2009-11-26 Thread John Hasler
I don't see why the test should succeed at all with those quotes in there. In any case, you should file your bug report against the "bash" package. I suggest you do more tests first, after re-reading the section of the bash man page on the "[[ expression ]]" construct. -- John Hasler -- To UN

Re: base: Fails when i process a simple shell script with regular expressions in Lenny but not in Etch.

2009-11-26 Thread Javier Barroso
Hi, On Thu, Nov 26, 2009 at 5:22 PM, Ricardo F wrote: > Package: base > Severity: normal > > *** Please type your report below this line *** > > Whe i put this script in etch, it works, but in lenny don't work, the > condition is true, but any lines are output. ¿i don't know what's the > problem?

base: Fails when i process a simple shell script with regular expressions in Lenny but not in Etch.

2009-11-26 Thread Ricardo F
Package: base Severity: normal *** Please type your report below this line *** Whe i put this script in etch, it works, but in lenny don't work, the condition is true, but any lines are output. ¿i don't know what's the problem? if [[ foobarbletch =~ 'foo(bar)bl(.*)' ]] then echo The

Re: Less and regular expressions

2008-07-10 Thread Josh Miller
> On Tue, Jul 8, 2008 at 9:20 PM, Bob Cox <[EMAIL PROTECTED]> > wrote: > >> On Tue, Jul 08, 2008 at 11:37:11 -0700, Account for Debian group mail ( >> [EMAIL PROTECTED]) wrote: >> >> > >> > Hello, >> > >> > I'm doing a search of a syslog file using less - and having a brain >> fart. >> > >> > I'm t

Re: Less and regular expressions

2008-07-10 Thread Javier Barroso
On Tue, Jul 8, 2008 at 9:20 PM, Bob Cox <[EMAIL PROTECTED]> wrote: > On Tue, Jul 08, 2008 at 11:37:11 -0700, Account for Debian group mail ( > [EMAIL PROTECTED]) wrote: > > > > > Hello, > > > > I'm doing a search of a syslog file using less - and having a brain fart. > > > > I'm trying to make a r

RE: Less and regular expressions

2008-07-08 Thread Stackpole, Chris
> I'm trying to make a regular search expression that will look for the word > "greylist" and the word "*.aol.com" in the same line of the syslog. Do a Google search for "sed one liners"; I use that /ALL/ the time cause I never remember all of the cool things sed can do. Anyway, specifically there

Re: Less and regular expressions

2008-07-08 Thread Bob McGowan
Account for Debian group mail wrote: Hello, I'm doing a search of a syslog file using less - and having a brain fart. I'm trying to make a regular search expression that will look for the word "greylist" and the word "*.aol.com" in the same line of the syslog. I just do not remember how to do

Re: Less and regular expressions

2008-07-08 Thread Bob Cox
On Tue, Jul 08, 2008 at 11:37:11 -0700, Account for Debian group mail ([EMAIL PROTECTED]) wrote: > > Hello, > > I'm doing a search of a syslog file using less - and having a brain fart. > > I'm trying to make a regular search expression that will look for the word > "greylist" and the word "*

Re: Less and regular expressions

2008-07-08 Thread Ron Johnson
-BEGIN PGP SIGNED MESSAGE- Hash: SHA1 On 07/08/08 13:37, Account for Debian group mail wrote: > Hello, > > I'm doing a search of a syslog file using less - and having a brain fart. > > I'm trying to make a regular search expression that will look for the word > "greylist" and the word "*

Less and regular expressions

2008-07-08 Thread Account for Debian group mail
Hello, I'm doing a search of a syslog file using less - and having a brain fart. I'm trying to make a regular search expression that will look for the word "greylist" and the word "*.aol.com" in the same line of the syslog. I just do not remember how to do this and looking around the Internet I

xmlns:regex="http://exslt.org/regular-expressions"

2007-01-26 Thread Mathieu Malaterre
Hello there, I am trying to do some regular expression using xsltproc, and as far as I understand it is using libexslt which should be using exslt.org packages, right ? But for some reason I don't see the regular expression being part of xsltproc extensions: Do I need to do something particular

Re: regular expressions

2004-10-25 Thread Wayne Topa
Rui Silva([EMAIL PROTECTED]) is reported to have said: > Hi people > > can anyone point me to a website that teaches me how to build regular > expressions... i need it from a school work anda i'm finding anything on > google. only found site with one or examples,

Re: regular expressions

2004-10-25 Thread Gerard Robin
On Sun, Oct 24, 2004 at 04:09:57AM +0100, Rui Silva wrote: > Hi people > > can anyone point me to a website that teaches me how to build regular > expressions... i need it from a school work anda i'm finding anything on > google. only found site with one or examples,

Re: regular expressions

2004-10-23 Thread Rui Silva
On Sunday 24 October 2004 04:14, David Clymer wrote: > On Sat, 2004-10-23 at 23:09, Rui Silva wrote: > > Hi people > > > > can anyone point me to a website that teaches me how to build regular > > expressions... i need it from a school work anda i'm finding anythin

Re: regular expressions

2004-10-23 Thread David Clymer
On Sat, 2004-10-23 at 23:09, Rui Silva wrote: > Hi people > > can anyone point me to a website that teaches me how to build regular > expressions... i need it from a school work anda i'm finding anything on > google. only found site with one or examples, need a full (or wid

regular expressions

2004-10-23 Thread Rui Silva
Hi people can anyone point me to a website that teaches me how to build regular expressions... i need it from a school work anda i'm finding anything on google. only found site with one or examples, need a full (or wide) description of regular expressions thks -- Rui Silva [EMAIL PROT

[OT] Regular expressions was First Time

2003-02-22 Thread David Dumortier
Hi Is there a package making spam in debian ? if so, I hope it can parse adresses to reject names with @. Spammer rhymes with lammer :-) David Dumortier PostScriptum : sorry, can't resist. -- To UNSUBSCRIBE, email to [EMAIL PROTECTED] with a subject of "unsubscribe". Trouble? Contact [EMAIL

Regular Expressions: Perl vs PHP

1999-04-25 Thread Stephen Pitts
Hi! I have a PHP3 script that accepts a file uploaded. I am using split() to parse the space-delimited file. An undefined amount of whitespace seperates the fields, so I am trying to use regexps to replace any contingous whitespace with one space. According to a Perl book I have on hand, " +" (w/o

Re: regular expressions

1998-03-27 Thread Art Lemasters
We are very fortunate, indeed, to have others teach us as you do. Here are some supplemental links. Regular Expressions http://lib.stat.cmu.edu/scgn/v52/section1_7_0_1.html Regular Expressions http://sunsite.auc.dk/frexxed/docs/FrexxEd_Sections/regular_expressions.HTML Thank you. Art

Re: regular expressions

1998-03-27 Thread Marc Lepage
lucier wrote: > > Howdy all.:-) > > During a chat with a linux developer, he mentioned that OS/2 (plus DOS and > Windows) didn't support "regular expressions". From what I have been able to > > gather from reading app docs (like the EPM IN

RE: regular expressions

1998-03-26 Thread TBaetzle
> E.L. Meijer wrote: > > 3) A couple of messages I ran across on DejaNews seemed to imply > that REXX > > supports regular expressions. Would this be an integrated function > of REXX or > > just indicative that a person could 'roll their own" with R

Re: regular expressions

1998-03-26 Thread E.L. Meijer \(Eric\)
> > Howdy all.:-) > > During a chat with a linux developer, he mentioned that OS/2 (plus DOS and > Windows) didn't support "regular expressions". From what I have been able to > > gather from reading app docs (like the EPM INF file) , *nix

regular expressions

1998-03-26 Thread lucier
Howdy all.:-) During a chat with a linux developer, he mentioned that OS/2 (plus DOS and Windows) didn't support "regular expressions". From what I have been able to gather from reading app docs (like the EPM INF file) , *nix ported to OS/2 app docs and shareware d