"""

Functions:
find    Find the numbers in a string.

"""
import re

_NUMBERS_RE = re.compile(r"\b\d+\b")
def find(document):
    """Return list of (start, end)."""
    from Extracto import refns
    
    s = str(document)
    x = refns.re_findall(_NUMBERS_RE, s)
    return [(m.start(), m.end()) for m in x]
