diff options
author | Allan Wang <me@allanwang.ca> | 2017-12-29 23:37:10 -0500 |
---|---|---|
committer | GitHub <noreply@github.com> | 2017-12-29 23:37:10 -0500 |
commit | 041bafcceadbd5203e95f2692899ac903dd2e883 (patch) | |
tree | 9c7294cd32928a6000b04d7ce7b5a3e52cff65c5 /app/src/main/kotlin/com/pitchedapps/frost/facebook/FbRegex.kt | |
parent | 32e6b5be0e662bbac22806bcc87259fd1a2e2ed0 (diff) | |
download | frost-1.7.3.tar.gz frost-1.7.3.tar.bz2 frost-1.7.3.zip |
Feature/image retrieval (#581)v1.7.3
* Refactor
* Attempt new content
* Clean up to make compile friendly
* Update docs
Diffstat (limited to 'app/src/main/kotlin/com/pitchedapps/frost/facebook/FbRegex.kt')
-rw-r--r-- | app/src/main/kotlin/com/pitchedapps/frost/facebook/FbRegex.kt | 1 |
1 files changed, 1 insertions, 0 deletions
diff --git a/app/src/main/kotlin/com/pitchedapps/frost/facebook/FbRegex.kt b/app/src/main/kotlin/com/pitchedapps/frost/facebook/FbRegex.kt index 24f685be..acc23cad 100644 --- a/app/src/main/kotlin/com/pitchedapps/frost/facebook/FbRegex.kt +++ b/app/src/main/kotlin/com/pitchedapps/frost/facebook/FbRegex.kt @@ -24,6 +24,7 @@ val FB_EPOCH_MATCHER: Regex by lazy { Regex(":([0-9]+)") } val FB_NOTIF_ID_MATCHER: Regex by lazy { Regex("notif_([0-9]+)") } val FB_MESSAGE_NOTIF_ID_MATCHER: Regex by lazy { Regex("[thread|user]_fbid_([0-9]+)") } val FB_CSS_URL_MATCHER: Regex by lazy { Regex("url\\([\"|']?(.*?)[\"|']?\\)") } +val FB_JSON_URL_MATCHER: Regex by lazy { Regex("\"(http.*?)\"") } operator fun MatchResult?.get(groupIndex: Int) = this?.groupValues?.get(groupIndex) |