Skip to content

Commit

Permalink
Update regex.js (#80)
Browse files Browse the repository at this point in the history
Allow + character. This will allow the code to accept e-mails in the
format [email protected]
  • Loading branch information
polarismail authored Dec 28, 2024
1 parent 42852ca commit 76bfe85
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion lib/regex.js
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
module.exports = {
section: /^\s*\[\s*([^\]]*?)\s*\]\s*$/,
param: /^\s*([\w@:._\-/[\]]+)\s*(?:=\s*(.*?)\s*)?$/,
param: /^\s*([\w@:._+\-/[\]]+)\s*(?:=\s*(.*?)\s*)?$/,
comment: /^\s*[;#].*$/,
line: /^\s*(.*?)\s*$/,
blank: /^\s*$/,
Expand Down

0 comments on commit 76bfe85

Please sign in to comment.