# Copyright (C) 2016 Google Inc.
# Licensed under http://www.apache.org/licenses/LICENSE-2.0 <see LICENSE file>

"""Regexes that are used in the code"""

WIDGET_TITLE_AND_COUNT = r"(.*) \((.*)\)"
URL_WIDGET_INFO = r"//[a-z\-.]*[:0-9]*?/([a-z_]*)/?(\d*)#?([^/]*)/*"

# Copyright (C) 2016 Google Inc.
# Licensed under http://www.apache.org/licenses/LICENSE-2.0 <see LICENSE file>

"""Regexes that are used in the code"""

WIDGET_TITLE_AND_COUNT = r"(.*) \((.*)\)"
URL_WIDGET_INFO = r"//[0-9a-z\-.]*[:0-9]*?/([a-z_]*)/?(\d*)#?([^/]*)/*"

Update regex for url to support access by ip