I see. The tests I mentioned in the previous post are from the testing
system of TW core. I don't know how to cook tests.html under Windows, so
Mario cooked two versions ([1], [2]) for my testing. Basically, you can
download the one which is for the vanilla version of TW [1] and then change
slicesRE there (grab the current one from the Pull request [3]; [2] is
outdated anyway). For additional testing, you can just change slicesRE
inside a TiddlyWiki and then try transclusion etc in there. If you want to
change slicesRE for testing via a plugin, that one should consist of two
lines:
TiddlyWiki.prototype.slicesRE = ...
store.slices = {};
Without the second line, slices won't be recalced.
> Just as an aside, http://regexper.com/ is a great tool for visualising
regular expressions.
Nice one, Jeremy. That's http://www.regexper.com/, though, without www it
haven't opened for me.
By the way, does anyone know when \x20 is preferrable to just space symbol?
It is used in the core, but I'll be glad to switch it to plain space as
it's rather bad for reading the RegExp and eats some extra space as well.
[1] https://gist.github.com/4444413/41f2aa49b33859220acb33e134624ec52f1312fa
[2] https://gist.github.com/4444413/69eeb445a033fef5e20c53e768d514e118b5143a
[3] https://github.com/TiddlyWiki/tiddlywiki/pull/112/files
среда, 30 января 2013 г., 23:54:01 UTC+4 пользователь Tobias Beer написал:
>
> Hi Yakov,
>
> Reading RegEx is not quite my strong suit. Could you please provide a MTC
> via dropbox to test around with? Alternatively, where do I find /reproduce
> those tests of which you are talking?
>
> Cheers, Tobias.
>
--
You received this message because you are subscribed to the Google Groups
"TiddlyWikiDev" group.
To unsubscribe from this group and stop receiving emails from it, send an email
to [email protected].
To post to this group, send email to [email protected].
Visit this group at http://groups.google.com/group/tiddlywikidev?hl=en.
For more options, visit https://groups.google.com/groups/opt_out.