You know what I really wish?
I wish Caché had decent regular expressions. The same ones that Perl made ubiquitous and are supported in C++, Java, Python, Ruby, PHP, Javascript and every other language you can think of.
It's hard to write a wiki without good string processing and regexes.
Highscalability is Up For Sale
Há 11 meses
2 comentários:
I've found pattern matching with a $select is as good as regex ?
Hi squarepeg. Thanks for the comment.
I don't think that they're quite the same thing, though, are they? $select looks to me more like a Lisp "cond" or a C "switch".
You can use these to help build your own string matching and processing functions, but real regexes give you far more power "out of the box".
Postar um comentário