Regular Expressions 101

Community Patterns

Community Library Entry

1

Regular Expression
Golang

`
[\w]{16}.[\w]{44}$
`
gm

Description

Testing Authelia subdomain / path rules. You can read more at the Authelia Docs

By default, this regex101 page is shown a test for a generic API path

    - domain: "some-sub.drpranavmishra.com"
      resources:
        - "^/api([/?].*)?$" # API paths
        - "^/healthz.*$" # Health check
	    - "^/\?[\S]{40,70}$" # PrivateBin
      policy: bypass
Submitted by Pranav Mishra - 2 years ago (Last modified 2 years ago)