issues Search Results · repo:jviereck/regjsparser language:JavaScript
Filter by
51 results
(65 ms)51 results
injviereck/regjsparser (press backspace or delete to remove)As part of the RoSctober Race presented by Race of Sloths, we recognized this repo to be highly valuable in the
open-source movement.
Existing and new contributors will be rewarded proportionally to their ...
race-of-sloths
- 2
- Opened on Sep 20, 2024
- #142
// Copyright (C) 2016 the V8 project authors. All rights reserved.
// This code is governed by the BSD license found in the LICENSE file.
/*---
esid: sec-regular-expressions-patterns
es6id: B.1.4
description: ...
JLHwung
- Opened on Sep 25, 2023
- #134
In JavaScript, the following regex is valid:
/(?=a)?/
However, it is rejected by regjsparser (SyntaxError: Expected atom at position 5).
I think an optional forward lookahead is a little pointless, ...
domdomegg
- 3
- Opened on Mar 10, 2023
- #130
parse( (a)\\1 , u )
throws, but it s a valid regex.
This regression was probably introduced by #115; I m working on a fix.
nicolo-ribaudo
- Opened on Dec 14, 2021
- #121
AST Explorer.
Currently,
/([\1])/
is parsed as
{
type : group ,
behavior : normal ,
body : [
{
type : characterClass ,
body : [
{
type : reference ...
JLHwung
- Opened on Oct 19, 2021
- #114
version: 0.6.8
The null character literal \0 reports its range start incorrectly.
const parse = require( regjsparser ).parse;
console.log(parse( \\0 ).range);
Expectation:
prints [0, 2]
What I got: ...
robmcl4
- 1
- Opened on Mar 23, 2021
- #111
version: 0.6.7
I expected the regexp [\-] to parse as a characterClass with one identifier value, -. Instead, I saw:
SyntaxError: classAtom at position 4
[\-]
^
at bail (/home/robert/Source/test/node_modules/regjsparser/parser.js:1179:13) ...
robmcl4
- 4
- Opened on Mar 22, 2021
- #109
When running 262, a use case involving regular expressions will get a syntax error, but the use case design will not get
the error as:
match = /[\c_]/.exec( \x1e\x1f\x20 );
assert.sameValue(match[0], ...
jsjzgy
- 5
- Opened on Jan 25, 2021
- #107
Hi, this regular expression parsing error
const exp = /\s*(? typedef typedef)?\s*(? struct struct)\s*(? structName \w+)\s*{(? props [^}]*)}(\s*(? aliasName1 \w+)?\s*,\s*(? aliasName2 \*\w+)?\s*;\s*)?/gi; ...
januwA
- 6
- Opened on Jan 6, 2021
- #105
Hi
Thanks for your package! It appears that babel plugin use it to convert regexps.
I found an issue with it. This is a valid js regexp [\]}{]+ but when you try to parse it using regjsparser you will ...
stalniy
- 3
- Opened on Apr 9, 2020
- #104

Learn how you can use GitHub Issues to plan and track your work.
Save views for sprints, backlogs, teams, or releases. Rank, sort, and filter issues to suit the occasion. The possibilities are endless.Learn more about GitHub IssuesProTip!
Restrict your search to the title by using the in:title qualifier.
Learn how you can use GitHub Issues to plan and track your work.
Save views for sprints, backlogs, teams, or releases. Rank, sort, and filter issues to suit the occasion. The possibilities are endless.Learn more about GitHub IssuesProTip!
Press the /
key to activate the search input again and adjust your query.