[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
regexp and valid-sre?
This page is part of the web mail archives of SRFI 115 from before July 7th, 2015. The new archives for SRFI 115 contain all messages, not just those from before July 7th, 2015.
- To: SRFI-115 discussion list <srfi-115@xxxxxxxxxxxxxxxxx>
- Subject: regexp and valid-sre?
- From: Michael Montague <mikemon@xxxxxxxxx>
- Date: Mon, 25 Nov 2013 19:34:00 -0800
- Delivered-to: srfi-115@xxxxxxxxxxxxxxxxx
- Dkim-signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20120113; h=message-id:date:from:user-agent:mime-version:to:subject :content-type:content-transfer-encoding; bh=eLqgc0AW9DVbO6W3grA6ft3bP3ZN9up4WqZmhC0t3ok=; b=fo3M/ueYEyCwKUE+k90Y35F9YvfOCu6UPBfB3AQi0rZdGotaJpl1RAmmvncKvzUTA2 jARYetr3SWE8uELnewXHt+abmM+IeMFOQ85MsbHqTY/GwIKOZvRANi2Zs5AA9GY6o+ea py+xsefqrQMWo7tQC49BJ7t5BAImr6pz/YWObw/qVSNwFygzknvMOoHQHMrKz7WVSpHW nThXJJwQSIK3OuFUkpudpd/0yNTCkKbmBw4fyeO6dFqzxTmKwjGZ9LYkNH31i6vbYIWE 4DvrPk2BvPxBfCVs/UIYASnPANo4cx3UVeUw4l/xxDechBCnDTZrmJZrmpXFVGMypJsa vYbg==
- User-agent: Mozilla/5.0 (Windows NT 6.3; WOW64; rv:24.0) Gecko/20100101 Thunderbird/24.1.1
Why can the procedure 'regexp' be called with an already compiled <re>
which is just returned?
Why is the procedure 'valid-sre?' necessary? You could just call
'regexp' and use 'guard' to check for any errors.