* regexp query @ 2018-02-03 17:17 Ethan Grammatikidis 2018-02-03 17:22 ` [9front] " Ethan Grammatikidis 0 siblings, 1 reply; 4+ messages in thread From: Ethan Grammatikidis @ 2018-02-03 17:17 UTC (permalink / raw) To: 9front could someone please tell me if the following regexp, including the quotes, should ever match nine '-' signs between the quotes? well, obviously it shouldn't because there's no -- combination between the parentheses. it shouldn't match 9 characters at all, should it? "----(-+|0-|00|0+)" Behaviour is the same in 4 programs: AcmeSAC acme and grep; 9front acme and grep. -- The lyf so short, the craft so long to lerne. -- Chaucer ^ permalink raw reply [flat|nested] 4+ messages in thread
* Re: [9front] regexp query 2018-02-03 17:17 regexp query Ethan Grammatikidis @ 2018-02-03 17:22 ` Ethan Grammatikidis 2018-02-03 20:58 ` Benjamin Purcell 0 siblings, 1 reply; 4+ messages in thread From: Ethan Grammatikidis @ 2018-02-03 17:22 UTC (permalink / raw) To: 9front oh sorry, test file is here: https://raw.githubusercontent.com/SBTCVM/SBTCVM-Mark-2/master/SBTCVM_MK2.py ^ permalink raw reply [flat|nested] 4+ messages in thread
* Re: [9front] regexp query 2018-02-03 17:22 ` [9front] " Ethan Grammatikidis @ 2018-02-03 20:58 ` Benjamin Purcell 2018-02-03 21:22 ` Ethan Grammatikidis 0 siblings, 1 reply; 4+ messages in thread From: Benjamin Purcell @ 2018-02-03 20:58 UTC (permalink / raw) To: 9front -+ means one or more - or am I losing my mind? On Sat, Feb 3, 2018 at 12:22 PM, Ethan Grammatikidis <eekee57@fastmail.fm> wrote: > oh sorry, test file is here: > https://raw.githubusercontent.com/SBTCVM/SBTCVM-Mark-2/master/SBTCVM_MK2.py ^ permalink raw reply [flat|nested] 4+ messages in thread
* Re: [9front] regexp query 2018-02-03 20:58 ` Benjamin Purcell @ 2018-02-03 21:22 ` Ethan Grammatikidis 0 siblings, 0 replies; 4+ messages in thread From: Ethan Grammatikidis @ 2018-02-03 21:22 UTC (permalink / raw) To: 9front On Sat, Feb 3, 2018, at 8:58 PM, Benjamin Purcell wrote: > -+ means one or more - or am I losing my mind? derp! you're right. thanks! still getting it wrong after all these years. maybe i was pushing myself too hard or something. ^ permalink raw reply [flat|nested] 4+ messages in thread
end of thread, other threads:[~2018-02-03 21:22 UTC | newest] Thread overview: 4+ messages (download: mbox.gz / follow: Atom feed) -- links below jump to the message on this page -- 2018-02-03 17:17 regexp query Ethan Grammatikidis 2018-02-03 17:22 ` [9front] " Ethan Grammatikidis 2018-02-03 20:58 ` Benjamin Purcell 2018-02-03 21:22 ` Ethan Grammatikidis
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).