Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Reporter regex picks up a false positive #100

Open
adelevie opened this issue Sep 30, 2014 · 1 comment
Open

Reporter regex picks up a false positive #100

adelevie opened this issue Sep 30, 2014 · 1 comment

Comments

@adelevie
Copy link
Member

From testing around in Permafrast:

See supra, at 666 and nn. 17 and 26, supra.

The regex currently picks up "17 and 26" as a reporter citation.

@josefdaly
Copy link
Contributor

Thought this issue could use a little clarification. Getting this from the provided text. What is the expected result?

{
    "results": {
        "citations": [
            {
                "type": "reporter",
                "match": "17 and 26",
                "index": 26,
                "citation": "17 and 26",
                "reporter": {
                    "volume": "17",
                    "reporter": "and",
                    "page": "26",
                    "id": "reporter/17/and/26"
                }
            }
        ]
    },
    "options": {}
}

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants