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

Please add example usages for only-instrument-reg #204

Closed
binodpanta opened this issue Jul 30, 2015 · 3 comments
Closed

Please add example usages for only-instrument-reg #204

binodpanta opened this issue Jul 30, 2015 · 3 comments
Assignees

Comments

@binodpanta
Copy link

Doc improvement request: the usage doc on only-instrument-reg says regexp, but I am pulling my hair out on this, since it seems quite sensitive to the string I pass, and often fails if it is not property formed, I have no clue what format is supported and what is not, based on the doc

@tntim96
Copy link
Owner

tntim96 commented Jul 30, 2015

How about I add a feature that allows this to be tested from the command line. Something like:
-reg-test <regular expression> <URL path> which returns whether there was a match or not?

BTW, the Java Regular Expressions section of the manual links to the Java regular expression documentation:

... have you read that?

@tntim96 tntim96 self-assigned this Jul 30, 2015
@binodpanta
Copy link
Author

Ok sure that will be fine too. Thanks. I will also go refer to the regex links you posted.

@tntim96
Copy link
Owner

tntim96 commented Aug 2, 2015

I've addressed that in #206.

You can test with the JAR at https://drone.io/github.com/tntim96/JSCover/files, or in Maven using 1.21-SNAPSHOT with:

<repositories>
    <repository>
        <id>Sonatype repository</id>
        <name>Sonatype's Maven repository</name>
        <url>https://oss.sonatype.org/content/repositories/snapshots/</url>
        <snapshots>
            <enabled>true</enabled>
        </snapshots>
    </repository>
</repositories>

@tntim96 tntim96 closed this as completed Aug 16, 2015
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