- A longer pattern will always win over a shorter one
- In patterns of equal length, the one that contains the first wildcard loses
- and if all else fails, Include always trumps Exclude
Friday, November 23, 2007
Some progress
Well, I succeeded in the FlexJSON port, although the resulting code is still a bit.. um. Shall we say, suboptimal. However, I did get the most relevant bit, which is the idea behind the path expressions.
Ok, I guess I could have come up with the same idea myself, but what the hey, I enjoyed the work. :) I'm now working on implementing the same idea from scratch with a few modifications. The include/exclude patterns in FlexJSON aren't quite as powerful as I'd like them to be, so my implementation will have a way to determine the most specific of two patterns, the basic rules being:
Subscribe to:
Post Comments (Atom)
No comments:
Post a Comment