Skip to content

Commit

Permalink
Change whitespace tokens to be more general
Browse files Browse the repository at this point in the history
  • Loading branch information
karashiiro committed Dec 23, 2020
1 parent b319245 commit bbee935
Show file tree
Hide file tree
Showing 10 changed files with 11 additions and 11 deletions.
2 changes: 1 addition & 1 deletion freecompany/freecompany.json
Original file line number Diff line number Diff line change
Expand Up @@ -69,7 +69,7 @@
},
"SERVER": {
"selector": "div.ldst__window:nth-child(1) > div:nth-child(2) > a:nth-child(1) > div:nth-child(2) > p:nth-child(3)",
"regex": "(?P<World>\\w*)[\\s\\x{00A0}]\\((?P<DC>\\w*)\\)"
"regex": "(?P<World>\\w*)\\s+\\((?P<DC>\\w*)\\)"
},
"SLOGAN": {
"selector": "p.freecompany__text:nth-child(4)"
Expand Down
2 changes: 1 addition & 1 deletion freecompany/members.json
Original file line number Diff line number Diff line change
Expand Up @@ -28,7 +28,7 @@
},
"SERVER": {
"selector": ".entry__world",
"regex": "(?P<World>\\w*)[\\s\\x{00A0}]\\((?P<DC>\\w*)\\)"
"regex": "(?P<World>\\w*)\\s+\\((?P<DC>\\w*)\\)"
}
},
"PAGE_INFO": {
Expand Down
2 changes: 1 addition & 1 deletion linkshell/crossworld/members.json
Original file line number Diff line number Diff line change
Expand Up @@ -36,7 +36,7 @@
},
"SERVER": {
"selector": ".entry__world",
"regex": "(?P<World>\\w*)[\\s\\x{00A0}]\\((?P<DC>\\w*)\\)"
"regex": "(?P<World>\\w*)\\s+\\((?P<DC>\\w*)\\)"
}
},
"PAGE_INFO": {
Expand Down
2 changes: 1 addition & 1 deletion linkshell/members.json
Original file line number Diff line number Diff line change
Expand Up @@ -36,7 +36,7 @@
},
"SERVER": {
"selector": ".entry__world",
"regex": "(?P<World>\\w*)[\\s\\x{00A0}]\\((?P<DC>\\w*)\\)"
"regex": "(?P<World>\\w*)\\s+\\((?P<DC>\\w*)\\)"
}
},
"PAGE_INFO": {
Expand Down
2 changes: 1 addition & 1 deletion meta.json
Original file line number Diff line number Diff line change
@@ -1,5 +1,5 @@
{
"version": "0.34.0",
"version": "0.35.0",
"userAgentDesktop": "curl/7.73.0",
"userAgentMobile": "Mozilla/5.0 (iPhone; CPU OS 10_15_5 like Mac OS X) AppleWebKit/605.1.15 (KHTML, like Gecko) Version/12.1.1 Mobile/14E304 Safari/605.1.15",
"applicableUris": {
Expand Down
2 changes: 1 addition & 1 deletion profile/character.json
Original file line number Diff line number Diff line change
Expand Up @@ -84,7 +84,7 @@
},
"SERVER": {
"selector": "p.frame__chara__world:nth-child(3)",
"regex": "(?P<World>\\w*)[\\s\\x{00A0}]\\((?P<DC>\\w*)\\)"
"regex": "(?P<World>\\w*)\\s+\\((?P<DC>\\w*)\\)"
},
"TITLE": {
"selector": ".frame__chara__title"
Expand Down
2 changes: 1 addition & 1 deletion pvpteam/members.json
Original file line number Diff line number Diff line change
Expand Up @@ -32,7 +32,7 @@
},
"SERVER": {
"selector": ".entry__world",
"regex": "(?P<World>\\w*)[\\s\\x{00A0}]\\((?P<DC>\\w*)\\)"
"regex": "(?P<World>\\w*)\\s+\\((?P<DC>\\w*)\\)"
}
}
}
2 changes: 1 addition & 1 deletion search/character.json
Original file line number Diff line number Diff line change
Expand Up @@ -31,7 +31,7 @@
},
"SERVER": {
"selector": ".entry__world",
"regex": "(?P<World>\\w*)[\\s\\x{00A0}]\\((?P<DC>\\w*)\\)"
"regex": "(?P<World>\\w*)\\s+\\((?P<DC>\\w*)\\)"
}
},
"LIST_NEXT_BUTTON": {
Expand Down
4 changes: 2 additions & 2 deletions search/freecompany.json
Original file line number Diff line number Diff line change
Expand Up @@ -33,14 +33,14 @@
},
"ACTIVE": {
"selector": ".entry__freecompany__fc-active:nth-of-type(1)",
"regex": "Active:[\\s\\x{00A0}](?P<State>\\w*)"
"regex": "Active:\\s+(?P<State>\\w*)"
},
"ACTIVE_MEMBERS": {
"selector": ".entry__freecompany__fc-member"
},
"RECRUITMENT_OPEN": {
"selector": ".entry__freecompany__fc-active:nth-of-type(2)",
"regex": "Recruitment:[\\s\\x{00A0}](?P<State>\\w*)"
"regex": "Recruitment:\\s+(?P<State>\\w*)"
},
"ESTATE_BUILT": {
"selector": ".entry__freecompany__fc-housing"
Expand Down
2 changes: 1 addition & 1 deletion search/linkshell.json
Original file line number Diff line number Diff line change
Expand Up @@ -16,7 +16,7 @@
},
"SERVER": {
"selector": ".entry__world",
"regex": "(?P<World>\\w*)[\\s\\x{00A0}]\\((?P<DC>\\w*)\\)"
"regex": "(?P<World>\\w*)\\s+\\((?P<DC>\\w*)\\)"
},
"ACTIVE_MEMBERS": {
"selector": ".entry__linkshell__member > div > span"
Expand Down

0 comments on commit bbee935

Please sign in to comment.