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

Nested values #35

Open
Open
@lrkwz

Description

@lrkwz

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

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions