Pastie now auto-senses if line-wrap is a bad or good idea. Feedback?
## mark a section (Learn more)
<configurations> <configuration context="irc"> <routes> <route pattern="^(2|4|256|134217728|16384|64|2048|1024|524288|4096|512)$" cut="false" source="type" module="Ircbot" action="DoNothing"> <routes> <route pattern="^4$" source="type" module="Ircbot"> <routes> <route pattern="^quit" action="Commands.Query.Quit" /> <route pattern="^status" action="Commands.Query.Status" /> </routes> </route> <route pattern="" stopping="false" callback="AgavibotLogMessageCallback" /> <route pattern="^2$" source="type"> <routes> <route pattern="^!"> <routes> <route pattern="^seen(\s+{nickname:.{1,9}})" action="Commands.Channel.Seen" /> </routes> </route> </routes> </route> </routes> </route> <route pattern="" module="Ircbot" action="DoNothing" /> </routes> </configuration> <configuration context="web"> <routes> <route name="channels" pattern="^/channels" module="Default" action="ListChannels" /> <route name="channel" pattern="^/channel/(channel:[^/]+)" module="Default" action="ShowChannel"> <routes> <route name="logs" pattern="^/logs" action="ShowChannelLogs" /> <route name="stats" pattern="^/stats" action="ShowChannelStats" /> </routes> </route> <route pattern="^/$" module="%actions.default_module%" action="%actions.default_action%" /> </routes> </configuration> </configurations>
This paste will be private.
From the Design Piracy series on my blog: