mirror of
https://github.com/an-anime-team/an-anime-game-launcher.git
synced 2024-12-30 05:28:15 +03:00
Fixed Domain.getInfo()
work with different system languages
This commit is contained in:
parent
4c096eb4b9
commit
15ee001b68
1 changed files with 1 additions and 1 deletions
|
@ -43,7 +43,7 @@ export default class Domain
|
||||||
|
|
||||||
else
|
else
|
||||||
{
|
{
|
||||||
const regex = /PING (.*) \(([0-9]{1,3}\.[0-9]{1,3}\.[0-9]{1,3}\.[0-9]{1,3})\) from ([0-9]{1,3}\.[0-9]{1,3}\.[0-9]{1,3}\.[0-9]{1,3}) : [\d]+\([\d]+\) bytes of data/gm.exec(output);
|
const regex = /PING (.*) \(([0-9]{1,3}\.[0-9]{1,3}\.[0-9]{1,3}\.[0-9]{1,3})\) .* ([0-9]{1,3}\.[0-9]{1,3}\.[0-9]{1,3}\.[0-9]{1,3}) : [\d]+\([\d]+\)/gm.exec(output);
|
||||||
|
|
||||||
if (regex !== null)
|
if (regex !== null)
|
||||||
{
|
{
|
||||||
|
|
Loading…
Reference in a new issue