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 - a year ago (Last modified a year ago)