Skip to content
Projects
Groups
Snippets
Help
Loading...
Help
Support
Keyboard shortcuts
?
Submit feedback
Contribute to GitLab
Sign in / Register
Toggle navigation
C
com.ccwangluo.accelerator
Project overview
Project overview
Details
Activity
Releases
Repository
Repository
Files
Commits
Branches
Tags
Contributors
Graph
Compare
Issues
0
Issues
0
List
Boards
Labels
Milestones
Merge Requests
0
Merge Requests
0
CI / CD
CI / CD
Pipelines
Jobs
Schedules
Analytics
Analytics
CI / CD
Repository
Value Stream
Wiki
Wiki
Snippets
Snippets
Members
Members
Collapse sidebar
Close sidebar
Activity
Graph
Create a new issue
Jobs
Commits
Issue Boards
Open sidebar
sheteng
com.ccwangluo.accelerator
Commits
cb9356e5
Commit
cb9356e5
authored
Dec 27, 2017
by
Mygod
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
Refine acls
parent
c55fd2dd
Changes
4
Expand all
Hide whitespace changes
Inline
Side-by-side
Showing
4 changed files
with
11291 additions
and
11290 deletions
+11291
-11290
mobile/src/main/assets/acl/bypass-china.acl
mobile/src/main/assets/acl/bypass-china.acl
+3763
-3763
mobile/src/main/assets/acl/bypass-lan-china.acl
mobile/src/main/assets/acl/bypass-lan-china.acl
+3763
-3763
mobile/src/main/assets/acl/gfwlist.acl
mobile/src/main/assets/acl/gfwlist.acl
+3763
-3763
mobile/src/main/java/com/github/shadowsocks/acl/CustomRulesFragment.kt
...in/java/com/github/shadowsocks/acl/CustomRulesFragment.kt
+2
-1
No files found.
mobile/src/main/assets/acl/bypass-china.acl
View file @
cb9356e5
This diff is collapsed.
Click to expand it.
mobile/src/main/assets/acl/bypass-lan-china.acl
View file @
cb9356e5
This diff is collapsed.
Click to expand it.
mobile/src/main/assets/acl/gfwlist.acl
View file @
cb9356e5
This diff is collapsed.
Click to expand it.
mobile/src/main/java/com/github/shadowsocks/acl/CustomRulesFragment.kt
View file @
cb9356e5
...
...
@@ -61,7 +61,8 @@ class CustomRulesFragment : ToolbarFragment(), Toolbar.OnMenuItemClickListener {
private
const
val
SELECTED_HOSTNAMES
=
"com.github.shadowsocks.acl.CustomRulesFragment.SELECTED_HOSTNAMES"
private
const
val
SELECTED_URLS
=
"com.github.shadowsocks.acl.CustomRulesFragment.SELECTED_URLS"
private
val
PATTERN_DOMAIN
=
"""(?<=^\(\^\|\\\.\)).*(?=\$$)"""
.
toRegex
()
// unescaped: (?<=^(\(\^\|\\\.\)|\^\(\.\*\\\.\)\?)).*(?=\$$)
private
val
PATTERN_DOMAIN
=
"(?<=^(\\(\\^\\|\\\\\\.\\)|\\^\\(\\.\\*\\\\\\.\\)\\?)).*(?=\\\$\$)"
.
toRegex
()
}
private
enum
class
Template
{
...
...
Write
Preview
Markdown
is supported
0%
Try again
or
attach a new file
Attach a file
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Cancel
Please
register
or
sign in
to comment