Home
last modified time | relevance | path

Searched refs:FormatRule (Results 1 – 1 of 1) sorted by relevance

/development/samples/Wiktionary/src/com/example/android/wiktionary/
DExtendedWikiHelper.java113 private static class FormatRule { class in ExtendedWikiHelper
126 public FormatRule(String pattern, String replaceWith, int flags) { in FormatRule() method in ExtendedWikiHelper.FormatRule
139 public FormatRule(String pattern, String replaceWith) { in FormatRule() method in ExtendedWikiHelper.FormatRule
159 private static final List<FormatRule> sFormatRules = new ArrayList<FormatRule>();
163 sFormatRules.add(new FormatRule("^=+(.+?)=+", "</ol><h2>$1</h2><ol>", in sFormatRules.add() argument
167 sFormatRules.add(new FormatRule("^#+\\*?:(.+?)$", "<blockquote>$1</blockquote>", in sFormatRules.add() argument
169 sFormatRules.add(new FormatRule("^#+:?\\*(.+?)$", "<ul><li>$1</li></ul>", in sFormatRules.add() argument
171 sFormatRules.add(new FormatRule("^#+(.+?)$", "<li>$1</li>", in sFormatRules.add() argument
175 sFormatRules.add(new FormatRule("\\[\\[([^:\\|\\]]+)\\]\\]", in sFormatRules.add() argument
177 sFormatRules.add(new FormatRule("\\[\\[([^:\\|\\]]+)\\|([^\\]]+)\\]\\]", in sFormatRules.add() argument
[all …]