From 0c44ee047b9c2973728135d45759374219b86041 Mon Sep 17 00:00:00 2001 From: lloydtorres Date: Wed, 23 Mar 2016 00:48:06 -0400 Subject: [PATCH] Fix malformed regex in telegram link processor --- .../java/com/lloydtorres/stately/helpers/SparkleHelper.java | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) diff --git a/Stately/app/src/main/java/com/lloydtorres/stately/helpers/SparkleHelper.java b/Stately/app/src/main/java/com/lloydtorres/stately/helpers/SparkleHelper.java index 483a560d..b73e6439 100644 --- a/Stately/app/src/main/java/com/lloydtorres/stately/helpers/SparkleHelper.java +++ b/Stately/app/src/main/java/com/lloydtorres/stately/helpers/SparkleHelper.java @@ -1055,9 +1055,9 @@ public static void setBbCodeFormatting(Context c, TextView t, String content) setStyledTextView(c, t, holder); } - public static final Pattern NS_TG_RAW_NATION_LINK = Pattern.compile("(?i)(.*?)<\\/a>"); - public static final Pattern NS_TG_RAW_REGION_LINK_TG = Pattern.compile("(?i)(.*?)<\\/a>"); - public static final Pattern NS_TG_RAW_REGION_LINK = Pattern.compile("(?i)(.*?)<\\/a>"); + public static final Pattern NS_TG_RAW_NATION_LINK = Pattern.compile("(?i)(.*?)<\\/a>"); + public static final Pattern NS_TG_RAW_REGION_LINK_TG = Pattern.compile("(?i)(.*?)<\\/a>"); + public static final Pattern NS_TG_RAW_REGION_LINK = Pattern.compile("(?i)(.*?)<\\/a>"); public static final Pattern PARAGRAPH = Pattern.compile("(?i)(?s)

(.*?)<\\/p>"); /**