Skip to content
This repository has been archived by the owner on Feb 25, 2022. It is now read-only.

Commit

Permalink
Treat >(No.)?\d+ as reference
Browse files Browse the repository at this point in the history
  • Loading branch information
seven332 committed Sep 26, 2015
1 parent 65fe553 commit 71355a2
Showing 1 changed file with 1 addition and 1 deletion.
Original file line number Diff line number Diff line change
Expand Up @@ -58,7 +58,7 @@ public class ACPost extends Post {
private static final SimpleDateFormat DATE_FORMAT = new SimpleDateFormat("yyyy-MM-ddHH:mm:ss", Locale.getDefault());
private static final Object sDateFormatLock = new Object();

private static final Pattern REFERENCE_PATTERN = Pattern.compile(">>(?:No.)?(\\d+)");
private static final Pattern REFERENCE_PATTERN = Pattern.compile(">>?(?:No.)?(\\d+)");
private static final Pattern URL_PATTERN = Pattern.compile("(http|https)://[a-z0-9A-Z%-]+(\\.[a-z0-9A-Z%-]+)+(:\\d{1,5})?(/[a-zA-Z0-9-_~:#@!&',;=%/\\*\\.\\?\\+\\$\\[\\]\\(\\)]+)?/?");
private static final Pattern AC_PATTERN = Pattern.compile("ac\\d+");

Expand Down

0 comments on commit 71355a2

Please sign in to comment.