From 452047011da7f494a1e6c1cb5179fb4c918cc1da Mon Sep 17 00:00:00 2001 From: Lamont Granquist Date: Fri, 13 May 2016 15:39:24 -0700 Subject: [PATCH] remove string quotes around regexp --- docs/resources.rst | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) diff --git a/docs/resources.rst b/docs/resources.rst index ab820a6a8..5a8ac411a 100644 --- a/docs/resources.rst +++ b/docs/resources.rst @@ -1114,9 +1114,9 @@ The following complete example tests the ``pg_hba.conf`` file in |postgresql| fo .. code-block:: bash describe file(hba_config_file) do - its('content') { should match '/local\s.*?all\s.*?all\s.*?md5/' } - its('content') { should match '%r{/host\s.*?all\s.*?all\s.*?127.0.0.1\/32\s.*?md5/}' } - its('content') { should match '%r{/host\s.*?all\s.*?all\s.*?::1\/128\s.*?md5/}' } + its('content') { should match /local\s.*?all\s.*?all\s.*?md5/ } + its('content') { should match %r{/host\s.*?all\s.*?all\s.*?127.0.0.1\/32\s.*?md5/} } + its('content') { should match %r{/host\s.*?all\s.*?all\s.*?::1\/128\s.*?md5/} } end exist