diff --git a/conda/conda-bootstrap.py b/conda/conda-bootstrap.py
index 69d379e3d30d39545ae4c96ff0612c2e28ad5020..ac36531f5c2e19bafb1e45d77e3ab7094fb1a03b 100755
--- a/conda/conda-bootstrap.py
+++ b/conda/conda-bootstrap.py
@@ -57,7 +57,7 @@ def get_rendered_recipe(python, path):
     # writes a temporary recipe without bob-devel
     orig = os.path.join(path, 'meta.yaml')
     contents = open(orig).read()
-    result = re.search(r'requirements:\s*\n\s*host:\s*\n', contents)
+    result = re.search(r'requirements:\s*\n.+host:\s*\n', contents, re.DOTALL)
     contents = contents[:result.end()] + \
         '    - bob-devel {{ bob_devel }}.*\n' + \
         contents[result.end():]