vindarel
vindarel
Nice, that is pretty interesting. With some indentation the snippet becomes ```lisp (str-match "a1c5b" (("a" b "c") (parse-integer b)) (("a" x "c" y "b") (print (parse-integer x)) (print (parse-integer y))...
Let's use and try this macro. I'm interested in everybody's feedback. A stupid test: I match like your example, but I don't use the matching variable, so I get style...
I tried this more on an AOC problem (day 19), and OMG this match macro felt so powerful. Easier and faster than searching for the right regexp.
Other quick test: ```lisp (str::match "123 hello 456" (("\\d+" s "\\d+") s) (t "nothing")) ;; =>" hello 45" ``` I didn't expect to see "45". The first number regex was...
> Add 3 aliases for the replace-* called substitute-* because cl-user:replace is destructive. good catch, but is it really an issue though? The `replace` verb is less CL-standard-compliant but more…...
It would be just a parameter to add to `to-file`? (along a `&rest` to pass to `with-open-file`to mitigate further issues). (to-file s :external-format :utf-8) (to-file s :utf-8 t) ; ?...
Some functions have been worked out to also accept characters: (str:join #\Newline '( "hello" "test")) so I think we should allow characters for all, including `concat`.
I think it is convoluted to "install" this script without roswell, since we can already run fiveam tests without Roswell, all this script does is make it easier, but yes...
I'll quote your edit because it's worth knowing for followers! > Update: Use SBCL! - cl-mongo works for me with that, using latest mongo-community. I was on CCL when I...
Hi, there is `goose-extractor` on pypi ! Then `from goose import Goose`.