cl-user.net is a good resource for finding things:
http://www.cl-user.net/asp/search?search=regex
..in this case, Google ain't that bad either:
http://www.google.com/search?q=lisp+regex
Search found 20 matches
- Wed Oct 29, 2008 9:42 pm
- Forum: Common Lisp
- Topic: Lisp and Regex
- Replies: 7
- Views: 32438
- Wed Oct 29, 2008 6:21 am
- Forum: Common Lisp
- Topic: non-linear list conversion to linear
- Replies: 14
- Views: 41657
Re: non-linear list conversion to linear
check out Alexandria .. it provides many common utilities, like flatten:and didn't have the time to mess around with the code.
Code: Select all
CL-USER> (alexandria:flatten '(1 (2 (1 3 (2 4) 3) 1) (1 4)))
(1 2 1 3 2 4 3 1 1 4)
http://common-lisp.net/project/alexandria/ (get the one from darcs)
- Wed Oct 22, 2008 2:30 pm
- Forum: Common Lisp
- Topic: Please help my head get around 'deftype'
- Replies: 23
- Views: 57227
Re: Please help my head get around 'deftype'
about body, declarations and doc-strings .. Alexandria has a parse-body which might be useful .. it can be used like, say, this: (defmacro mk-on-cnt-add-fn ((new-children-sym container-sym &key (on-cnt-add-fn-sym 'on-cnt-add-fn on-cnt-add-fn-sym-supplied-p) once-only-p) &body body) (multiple...
- Fri Oct 17, 2008 4:08 am
- Forum: Common Lisp
- Topic: Double quotes inside string
- Replies: 4
- Views: 10761
Re: Double quotes inside string
just to make sure there is no misunderstanding; one do not have to escape an actual data-source or the file content, if reading from a file: lnostdal@blackbox:~$ nano -w test.txt lnostdal@blackbox:~$ cat test.txt <OMA><OMS cd="Computing" name="Homology"/></OMA> lnostdal@blackbox:...
- Fri Oct 17, 2008 3:59 am
- Forum: Common Lisp
- Topic: Double quotes inside string
- Replies: 4
- Views: 10761
Re: Double quotes inside string
it'd be easier if you posted a complete snippet of code which shows the problem ..some code that works as expected here: CL-USER> (with-input-from-string (stream "<OMA><OMS cd=\"Computing\" name=\"Homology\"/></OMA>") (read-line stream)) "<OMA><OMS cd=\"Comput...
- Tue Oct 14, 2008 9:14 am
- Forum: Common Lisp
- Topic: The library situation (warning: mini-rant)
- Replies: 24
- Views: 54669
Re: The library situation (warning: mini-rant)
If you're unhappy with the GUI-stuff that's out there then do something about it instead of expecting others to do it for you. It's that simple; that's the reality, even if this means actually having to learn Lisp first to do it. It's not harder to do in Lisp than in other languages; you can write ...
- Mon Oct 13, 2008 6:06 pm
- Forum: Common Lisp
- Topic: The library situation (warning: mini-rant)
- Replies: 24
- Views: 54669
Re: The library situation (warning: mini-rant)
I think this nature is due to CL is "a specification", not "an implementation". Yeah, I'm sure people working on Lisp software and libraries are thinking the same thing; they are really worried about "what 'The Spec' might think". :D Nah. There is no problem like that;...
- Fri Oct 10, 2008 10:13 pm
- Forum: Common Lisp
- Topic: Please help my head get around 'deftype'
- Replies: 23
- Views: 57227
Re: Please help my head get around 'deftype'
So, I'm still not sure what you are after, exactly: Documentation API enforcement Performance optimization API enforcement is what I'm after in this case. So I still don't see the benefit. In a C++/COM world, type mismatches cause big problems because operations are not type-checked. In Lisp, you c...
- Fri Jul 04, 2008 1:35 am
- Forum: Common Lisp
- Topic: Best way to start on Windows : need advices
- Replies: 13
- Views: 43846
Re: Best way to start on Windows : need advices
When I look at projects like PLT-Scheme , there's a great multiplateform IDE, and no problems to install it: you just have to code. Now, going to Common Lisp, you either have a choice between Emacs+Slime and you'll have to spent hours on to configure them for a newbie, and proprietary tools like Al...
- Thu Jul 03, 2008 2:33 pm
- Forum: Common Lisp
- Topic: What are you doing in Common Lisp lately?
- Replies: 26
- Views: 81771
Re: What are you doing in Common Lisp lately?
hi, i'm currently working on a widget based web framework for Common Lisp: http://groups.google.com/group/symbolicweb not using continuations .. designing it as a simple "state machine" on the server .. history is maintained on the client instead; rationale is that this needs to happen any...