And thanks for the FAQ link. I had looked through that and somehow had missed the whitespace example from DC. It makes sense - I didn't want to use a regex but DC seems to suggest that the sort of backtracking needed PRD doesn't support. If I can't make it work I'll gist a self contained example for you to play with :) | [reply] |
Yes, and in fact I have a few pull requests against it and have been chatting with the author. Ultimately I'd like to write one from scratch though - there are some features missing from Text::HAML (eg. the standard helpers like surround) which will require a lot of refactoring to Text::HAML to implement. At least I'd like to try and see how it goes :) | [reply] |