New issue
Advanced search Search tips
Note: Color blocks (like or ) mean that a user may not be available. Tooltip shows the reason.

Issue 764818 link

Starred by 1 user

Issue metadata

Status: WontFix
Owner: ----
Closed: Sep 2017
Cc:
EstimatedDays: ----
NextAction: ----
OS: ----
Pri: 3
Type: Bug



Sign in to add a comment

Wrong regexp matching in Chrome

Reported by fitisovd...@gmail.com, Sep 13 2017

Issue description

Chrome Version       :60.0.3112.113
URLs (if applicable) :https://se.ifmo.ru/~/s225026/
Other browsers tested:Edge 
  Add OK or FAIL, along with the version, after other browsers where you
have tested this issue:
     Safari:
    Firefox:OK
         IE:

What steps will reproduce the problem?
(1)Create input field [text] in html doc
(2)Validate its input using javascript /^(-?[1-9]+)$|^([0-9]+)$/ regex
(3)Type 1.5 and validate input

What is the expected result?
it doesn't match regex

What happens instead?
it marks input string as matched

Please provide any additional information below. Attach a screenshot if
possible.

 
chromeError.png
18.7 KB View Download
EdgeOK.png
165 KB View Download
Labels: Needs-Triage-M60
Now it works
Cc: divya.pa...@techmahindra.com
Labels: Triaged-ET
Status: WontFix (was: Unconfirmed)
Unable to reproduce on ubuntu 14.04, Mac 10.12.1, Win 7 with the reported version 60.0.3112.113 and latest Stable 61.0.3163.91 and latest Canary 63.0.3215.0. by
following steps mentioned in the original comment. 
As per comment #2 confirming this issue is working fine and marking it as wontfix. Please reopen or file  a new issue if you come across the similar one on any of the latest chrome versions

Sign in to add a comment