Hello, something made for a regex function that breaks webui and reverts 500 internal server, can someone suggest where the regex might be the problem here?
Config
{
"categories": [
{
"name": [
"Work"
],
"rule": {
"type": "regex",
"regex": "Google Docs|libreoffice|ReText|Microsoft 365|\\s*\\.pptx\\b|fvsmibo-my.sharepoint.com|Google Документы",
"ignore_case": true
},
"data": {
"color": "#0F0"
},
"id": 0
},
{
"name": [
"Work",
"Programming"
],
"rule": {
"type": "regex",
"regex": "GitHub|Stack\\sOverflow|BitBucket|Gitlab|vim|Spyder|kate|Ghidra|Scite|Visual\\s?Studio\\s?Code|Eclipse|NetBeans|PyCharm|IntelliJ\\s?IDEA|Sublime\\s?Text|Atom|Android\\s?Studio|DB\\sBrowser|Insomnia|Tower|Termius|Visual\\s?Studio|Notepad\\+\\+|Emacs|Xcode|CLion|WebStorm|RubyMine|PhpStorm|Goland|RStudio|Brackets|Code::Blocks|SourceTree|GitKraken|SmartGit|Fork|Sourcetree|regex101",
"ignore_case": true
},
"id": 1,
"data": {}
},
{
"name": [
"Work",
"Image"
],
"rule": {
"type": "regex",
"regex": "Photoshop|Illustrator|Figma|Gimp|Inkscape|CorelDraw|Affinity\\sDesigner|Affinity\\sPhoto|Paint\\.NET|Krita|Sketch|Adobe\\sXD|Canva|Pixlr|Lightroom|Capture\\sOne"
},
"id": 2,
"data": {}
},
{
"name": [
"Work",
"Video"
],
"rule": {
"type": "regex",
"regex": "Kdenlive",
"ignore_case": true
},
"id": 3,
"data": {}
},
{
"name": [
"Work",
"Audio"
],
"rule": {
"type": "regex",
"regex": "Audacity"
},
"id": 4
},
{
"name": [
"Work",
"3D"
],
"rule": {
"type": "regex",
"regex": "Blender|Maya|3ds\\sMax|Cinema\\s4D|Houdini|ZBrush|SketchUp|AutoCAD|SolidWorks|Rhino|Revit|Fusion\\s360|TinkerCAD|Unity|Unreal\\sEngine"
},
"id": 5,
"data": {}
},
{
"name": [
"Media",
"Games"
],
"rule": {
"type": "regex",
"regex": "Minecraft|RimWorld|Steam|Dota\\s2|League\\sOf\\sLegends|Fortnite|Overwatch|CS:GO|Valorant|Among\\sUs|Cyberpunk\\s2077|Genshin\\sImpact|Apex\\sLegends|PUBG|Squad|Rust|Mindustry|Tom\\sClancy's\\sRainbow\\sSix\\sSiege|Counter-Strike|Hearts\\sOf\\sIron\\sIV|Police\\sStories|Satisfactory|Epic\\sGames\\sLauncher|Lunar\\sClient|Call\\sOf\\sDuty\\sWarzone|The\\sWitcher\\s3|Elden\\sRing|Halo\\sInfinite|Assassin's\\sCreed\\sValhalla|Starfield|Diablo\\sIV",
"ignore_case": true
},
"data": {
"color": "#F80"
},
"id": 6
},
{
"name": [
"Media",
"Video"
],
"rule": {
"type": "regex",
"regex": "YouTube|Plex|VLC|kinogo",
"ignore_case": true
},
"data": {
"color": "#F33"
},
"id": 7
},
{
"name": [
"Media",
"Social Media"
],
"rule": {
"type": "regex",
"regex": "Reddit|Facebook|Twitter|Instagram|DevRant|YouTube|TikTok|Snapchat|LinkedIn|Pinterest|Tumblr|Vimeo|Twitch",
"ignore_case": true
},
"data": {
"color": "#FCC400"
},
"id": 8
},
{
"name": [
"Media",
"Music"
],
"rule": {
"type": "regex",
"regex": "Spotify|Deezer|Apple\\sMusic|SoundCloud|Tidal|Amazon\\sMusic|Pandora|YouTube\\sMusic|Google\\sPlay\\sMusic|Bandcamp|Last\\.fm|Shazam|Napster|iHeartRadio|Audiomack",
"ignore_case": true
},
"data": {
"color": "#A8FC00"
},
"id": 9
},
{
"name": [
"Comms"
],
"rule": {
"type": "none"
},
"data": {
"color": "#9FF"
},
"id": 10
},
{
"name": [
"Comms",
"IM"
],
"rule": {
"type": "regex",
"regex": "Messenger|Telegram|Signal|WhatsApp|Rambox|Slack|Riot|Element|Discord|Nheko",
"ignore_case": true
},
"id": 11,
"data": {}
},
{
"name": [
"Comms",
"Email"
],
"rule": {
"type": "regex",
"regex": "Gmail|Thunderbird|mutt|alpine|Outlook|Yahoo\\sMail|ProtonMail|Apple\\sMail|Mail\\.ru|Zoho\\sMail|Yandex\\.Mail|Airmail|eM\\sClient|Spark|The\\sBat!",
"ignore_case": true
},
"id": 12,
"data": {}
},
{
"name": [
"Uncategorized"
],
"rule": {
"type": "none"
},
"data": {
"color": "#CCC"
},
"id": 13
},
{
"name": [
"Media"
],
"rule": {
"type": "none"
},
"id": 14
},
{
"name": [
"PC Tools",
"PC Tools"
],
"rule": {
"type": "regex",
"regex": "BoosterX|Windscribe|Malwarebytes|WizTree|Revo\\sUninstaller\\sPro|PrivaZer|CCleaner|Advanced\\sSystemCare|Defraggler|Speccy|Recuva|Disk\\sGenius|EaseUS\\sPartition\\sMaster|Norton\\sUtilities|Kaspersky\\sSystem\\sChecker|System\\sMechanic|CleanMyPC|O&O\\sDefrag|7-Zip|WinRAR|WinZip|PeaZip|BCUninstaller|RevoUninPro",
"ignore_case": true
},
"id": 15,
"data": {
"color": "#0062B1"
}
},
{
"name": [
"Work",
"Learning"
],
"rule": {
"type": "regex",
"regex": "Udemy|Duolingo|Coursera|Khan\\sAcademy|EdX|Lynda|LinkedIn\\sLearning|Skillshare|Codecademy|FutureLearn|Pluralsight|Udacity|OpenClassrooms|Memrise|Busuu|Rosetta\\sStone|Babbel|Ted-Ed|Canvas|Blackboard|Google\\sClassroom|Academic\\sEarth|Schoology|Stepik|w3schools",
"ignore_case": true
},
"id": 16,
"data": {}
},
{
"name": [
"PC Tools"
],
"rule": {
"type": "none"
},
"id": 17
}
]
}