Skip to content

Fix JavaScript Regex Pattern - #242

Open
korny wants to merge 14 commits into
masterfrom
fix-javascript-regexp
Open

Fix JavaScript Regex Pattern#242
korny wants to merge 14 commits into
masterfrom
fix-javascript-regexp

Conversation

@korny

Copy link
Copy Markdown
Member

No description provided.

Comment threadlib/coderay/scanners/java_script.rb
Comment threadlib/coderay/scanners/java_script.rb
Comment threadlib/coderay/scanners/java_script.rb
UNICODE_ESCAPE = / u[a-fA-F0-9]{4} | U[a-fA-F0-9]{8} /x # :nodoc:
REGEXP_ESCAPE = / [bBdDsSwW] /x # :nodoc:
STRING_CONTENT_PATTERN = {
STRING_CONTENT_PATTERN = {

Copy link
Copy Markdown

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Operator = should be surrounded by a single space. (https://rubystyle.guide#spaces-operators)

@qlty-cloud-legacy

Copy link
Copy Markdown

Code Climate has analyzed commit 54268a9 and detected 1 issue on this pull request.

Here's the issue category breakdown:

CategoryCount
Style1

View more on Code Climate.

Sign up for freeto join this conversation on GitHub. Already have an account? Sign in to comment

Labels

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant

@korny