Skip to content

Commit

Permalink
rebuild
Browse files Browse the repository at this point in the history
  • Loading branch information
alexcorvi committed Mar 3, 2017
1 parent fd0a4b6 commit a0656f5
Show file tree
Hide file tree
Showing 3 changed files with 3 additions and 3 deletions.
2 changes: 1 addition & 1 deletion dist-browser/anchorme.js
Original file line number Diff line number Diff line change
Expand Up @@ -114,7 +114,7 @@ var ip = createCommonjsModule(function (module, exports) {
Object.defineProperty(exports, "__esModule", { value: true });
var util_1 = util;
// general IP pattern https://regex101.com/r/rzUcJ4/1
var pattern = /^(\d{1,3}\.){3}\d{1,3}(:\d{1,5})?(\/([a-z0-9\-._~:\/\?#\[\]@!$&'\(\)\*\+,;=%]+)?)?$/;
var pattern = /^(\d{1,3}\.){3}\d{1,3}(:\d{1,5})?(\/([a-z0-9\-._~:\/\?#\[\]@!$&'\(\)\*\+,;=%]+)?)?$/i;
function default_1(str) {
if (!pattern.test(str))
{ return false; }
Expand Down
Loading

0 comments on commit a0656f5

Please sign in to comment.