Skip to content
This repository has been archived by the owner on Mar 30, 2021. It is now read-only.

Nested values #35

Open
lrkwz opened this issue Dec 3, 2019 · 0 comments
Open

Nested values #35

lrkwz opened this issue Dec 3, 2019 · 0 comments

Comments

@lrkwz
Copy link

lrkwz commented Dec 3, 2019

The following afaik should be a valid json angular-trnslate file

{
  "accept-privacy": {
    "title": "Accept Privacy Policy",
    "accept": "Accept",
    "acceptTitle": "Accept Policy",
    "text": "By clicking accept, you will be redirected to the application registration page from where you will be able to login again."
  }
}

but the regexp /^(\t)?"([^"]+)": "([^"]*)",?/ does not match.

  • Multiple indent characters (a better default indent pattern should be \s*)
  • Characters { and } not matched in any case
Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant