FC (Fay) Stegerman

Results 98 comments of FC (Fay) Stegerman

apksigcopier CI is green again with 3.11rc2 and the workaround removed, so seems to be fixed — as expected — indeed. Thanks!

It *is* called in multiline mode. But regex-tdfa has a non-standard multiline mode that combines what is usually known as "multiline" with inverse "dotall" and also disables matching newlines in...

Also: fyi `echo -e` doesn't usually work with `/bin/sh`.

regex-tdfa *does* recognise `[[:space:]]` though, so this works: ``` # test multiline matches $ printf "Line 1 blabla\nLine 2 haha\nLine 3 hihihi\n" > /.*Line 1(.|[[:space:]])*Line 2.*/ >= 0 ```

> Also: fyi `echo -e` doesn't usually work with `/bin/sh`. ``` # with bash $ echo "foo\nbar" foo\nbar $ echo -e "foo\nbar" foo bar $ printf "foo\nbar\n" foo bar ```...

> What I didn't 100% understand is whether we should abandon the expectation to handle newlines in a standard way completely due to inherent limitations of `regex-tdfa`, or whether it...

> Worth raising in regex-tdfa's issuentrwcker maybr ? https://github.com/haskell-hvr/regex-tdfa/issues/11

@ppenguin fwiw I recently quickly hacked together a [Python implementation of something similar to shelltest](https://github.com/obfusk/shtst). It's unfinished, not entirely compatible, only implements part of the functionality, ~~hasn't been documented yet~~,...

FWIW, `zipinfo` & `unzip -l` don't raise any errors: ``` $ zipinfo x.zip Archive: x.zip Zip file size: 111 bytes, number of entries: 1 ?rw------- 2.0 unx 13 b- stor...

I wrote a simple patch: ```diff --- a/zipfile.py 2022-10-01 06:31:04.000000000 +0200 +++ b/zipfile.py 2022-10-16 17:27:45.585018849 +0200 @@ -527,7 +527,7 @@ def is_dir(self): """Return True if this archive member is a...