From 417f54a1c02d9763c44487ce4cef01de6e4a3e93 Mon Sep 17 00:00:00 2001 From: Valtteri Laitinen Date: Sat, 16 Jan 2016 03:12:00 +0200 Subject: [PATCH] =?UTF-8?q?Simplify=20the=20=E2=80=9Clang=E2=80=9D=20regex?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit Remove an useless (?!\*) part from the lang regex. --- components/prism-core.js | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/components/prism-core.js b/components/prism-core.js index 8f02f0ff72..50d5fbcfcd 100644 --- a/components/prism-core.js +++ b/components/prism-core.js @@ -15,7 +15,7 @@ var _self = (typeof window !== 'undefined') var Prism = (function(){ // Private helper vars -var lang = /\blang(?:uage)?-(?!\*)(\w+)\b/i; +var lang = /\blang(?:uage)?-(\w+)\b/i; var _ = _self.Prism = { util: {