Skip to content

Commit

Permalink
run prettier
Browse files Browse the repository at this point in the history
  • Loading branch information
theJYC committed Sep 14, 2023
1 parent 63226ce commit 5ac3a6b
Showing 1 changed file with 2 additions and 1 deletion.
3 changes: 2 additions & 1 deletion src/arnParser.js
Original file line number Diff line number Diff line change
@@ -1,4 +1,5 @@
const ARN_VALIDATOR = /^arn:aws:kinesis:([a-z\-0-9]+):((http(s):\/\/.)[-a-zA-Z0-9@:%._\+~#=]{2,256}\.[a-z]{2,6}\b([-a-zA-Z0-9@:%_\+.~#?&//=]*)|(\d+)):stream\/(.+)$/;
const ARN_VALIDATOR =
/^arn:aws:kinesis:([a-z\-0-9]+):((http(s):\/\/.)[-a-zA-Z0-9@:%._\+~#=]{2,256}\.[a-z]{2,6}\b([-a-zA-Z0-9@:%_\+.~#?&//=]*)|(\d+)):stream\/(.+)$/;

const parse = (arn) => {
const match = arn.match(ARN_VALIDATOR);
Expand Down

0 comments on commit 5ac3a6b

Please sign in to comment.