Skip to content

Commit

Permalink
fix: Code QL
Browse files Browse the repository at this point in the history
  • Loading branch information
sanchezzzhak committed Feb 25, 2025
1 parent a30517e commit 904b2e4
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion parser/device/hbb-tv.js
Original file line number Diff line number Diff line change
Expand Up @@ -44,7 +44,7 @@ class HbbTv extends DeviceAbstractParser {
* @return {Boolean}
*/
isHubTv(userAgent) {
let regex = '(?:HbbTV|SmartTvA)/([1-9]{1}(?:\.[0-9]{1}){1,2})';
let regex = '(?:HbbTV|SmartTvA)/([1-9]{1}(?:[.][0-9]{1}){1,2})';
let match = this.getBaseRegExp(regex).exec(userAgent);
return match !== null;
}
Expand Down

0 comments on commit 904b2e4

Please sign in to comment.