added textile pattern regexes
added textile hook fns