Skip to content
This repository has been archived by the owner on Jul 9, 2022. It is now read-only.

Problems with Basic Regex match #4

Open
hearlapati-phunware opened this issue Sep 23, 2016 · 1 comment
Open

Problems with Basic Regex match #4

hearlapati-phunware opened this issue Sep 23, 2016 · 1 comment

Comments

@hearlapati-phunware
Copy link

Hello,

I tried with following regular expression :
var Regex = require("regex");
var regex = new Regex(/[A-Z]*/);
regex.test("A");

I was expecting the result to be 'true', but I see the result as false. Other basic expressions are not matching as well.

@rsp
Copy link
Contributor

rsp commented Nov 18, 2016

@hearlapati-phunware I've added some tests in PR #5 that should detect problems with the regex from this issue.

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

2 participants