Commit Graph

10 Commits (194556f7388ca778528cde59aa8d4989e33e893f)

Author SHA1 Message Date
Matt Miller da70710f7d EOL: remove trailing whitespace. 2014-10-28 20:36:15 +02:00
Matt Miller 68fc7c8dec Set explicit caching everywhere.
This explicity sets the caching behavior for all goodies. Goodies which
did not have caching behavior set in their package have had it added.
Similarly for the tests.

This resulted in a number of changes for caching behavior, mostly
moving towards more frequent caching.

I identified three cases where goodies should not be cached. They are when
the result depends upon:

- some random element,
- the time of day or year (as with relative dates), or
- the location of the requesting user

In all other cases, I presumed that the goodies were sufficiently
deterministic in their output to warrant caching.
2014-09-27 10:35:17 -04:00
Rob Emery d7b24620f8 RegexCheatSheet: switching to softabs 2014-06-26 21:53:19 +01:00
Rob Emery 444ab4a2f4 RegexCheatSheet: Normalising the whitespace around the regex symbols 2014-06-26 21:51:02 +01:00
Eric Johnson 9c29b27338 Added tests for example queries which are not currently tested.
Conflicts:

	t/TimezoneConverter.t
2014-02-10 21:36:14 +00:00
Jag Talon 3bb2c21a69 RegexCheatSheet: Made tests pass. 2013-12-05 17:33:01 -05:00
Rob Emery cff1d64eda RegexCheatSheet.pm: Locking down regex for simple character matches & added tests 2013-11-14 20:49:02 +00:00
Rob Emery 3e6e76243c RegexCheatSheet.pm: adding support for simple character classes like "regex [1-6]" etc 2013-11-10 17:38:48 +00:00
Rob Emery abf963b208 Adding regexp trigger to the cheatsheet and adding regex trigger to the regexp.pm plugin 2013-11-05 13:34:26 +00:00
Rob Emery 2b154fef5b Adding first pass at Regex goodie, can be triggered like "regex" or "regex ^" etc
Numbered matches ({3} and {3,9}) etc are now more flexible and validated
Adding regexp for triggers except for just "regexp" as this'll clash?
2013-10-24 23:02:48 +01:00