-
Notifications
You must be signed in to change notification settings - Fork 485
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
Adds detection for ElectroBSD and improves detection for Amazon Linux, Android, Chrome OS, iPadOS, iOS, Lineage OS, macOS #7640
Conversation
name: 'iOS' | ||
version: '$1' | ||
|
||
- regex: 'Sonos/.+\(ICRU_' | ||
name: 'iOS' | ||
version: '' | ||
|
||
- regex: 'CaptiveNetworkSupport|AirPlay' | ||
- regex: 'CaptiveNetworkSupport|AirPlay|.*[ \.\-/]iOS' |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
.*[ ./-]iOS
EA:
Redundant character escape '.' in RegExp
Inspection info: Reports redundant character escape sequences that can be replaced with unescaped characters preserving the meaning. Many escape sequences that are necessary outside of a character class are redundant inside square brackets [] of a character class.
Although unescaped opening curly braces { outside of character classes are allowed in some dialects (JavaScript, Python, and so on), it can cause confusion and make the pattern less portable, because there are dialects that require escaping curly braces as characters. For this reason the inspection does not report escaped opening curly braces.
Example:
\-\;[\.]
After the quick-fix is applied:
-;[.]
This is not a mistake, we will put everything in order in the future
No description provided.