Commit 53d58390296fece4b06b9de56259cc0190b3e719

Golmote 2015-08-24T07:59:39

Ini: Fix some regexps + remove unused flags

diff --git a/components/prism-ini.js b/components/prism-ini.js
index 1f6cb12..e6a3852 100644
--- a/components/prism-ini.js
+++ b/components/prism-ini.js
@@ -1,11 +1,11 @@
-Prism.languages.ini= {
-	'comment': /^\s*;.*$/m,
-	'important': /\[.*?\]/m,
-	'constant': /^\s*[^\s=]+?(?=[ \t]*=)/m,
-	'attr-value': {
-		pattern: /=.*/m,
-		inside: {
-			'punctuation': /^[=]/
-		}
-	}
+Prism.languages.ini= {
+	'comment': /^[ \t]*;.*$/m,
+	'important': /\[.*?\]/,
+	'constant': /^[ \t]*[^\s=]+?(?=[ \t]*=)/m,
+	'attr-value': {
+		pattern: /=.*/,
+		inside: {
+			'punctuation': /^[=]/
+		}
+	}
 };
\ No newline at end of file
diff --git a/components/prism-ini.min.js b/components/prism-ini.min.js
index 9f0fb2f..b78bc95 100644
--- a/components/prism-ini.min.js
+++ b/components/prism-ini.min.js
@@ -1 +1 @@
-Prism.languages.ini={comment:/^\s*;.*$/m,important:/\[.*?\]/m,constant:/^\s*[^\s=]+?(?=[ \t]*=)/m,"attr-value":{pattern:/=.*/m,inside:{punctuation:/^[=]/}}};
\ No newline at end of file
+Prism.languages.ini={comment:/^[ \t]*;.*$/m,important:/\[.*?\]/,constant:/^[ \t]*[^\s=]+?(?=[ \t]*=)/m,"attr-value":{pattern:/=.*/,inside:{punctuation:/^[=]/}}};
\ No newline at end of file