It would be nice to have some way to match patterns in two (or more) dimensions. Some kind of matrix reg-exps maybe? Does anybody know if such a thing exists? Is it possible to do using standard reg-exes?
I was thinking that it might be possible to use
the reg-ex range operators { and } to somehow
give the reg-ex some concept of rows. thus allowing
some kind of 2d