Here is my regular expression. <form[\s][\s\S]*action="[\s\S]*?". And below is the whole content string.
<form role="search" method="get" name="search" action="/job/ice-cream-release/search/" abc d ="" </form>abcd <parameters:<form method="post" autocomplete="off" name="parameters" action="build?delay=0sec"><div width="100%" class="parameters"><tbody>
I have already used *? in the regular expression, and I assume the return result should be below, which is the minimize result.
<form role="search" method="get" name="search" action="/job/ice-cream-release/search/"
But the the actual result is
<form role="search" method="get" name="search" action="/job/ice-cream-release/search/" abc d ="" </form>abcd <parameters:<form method="post" autocomplete="off" name="parameters" action="build?delay=0sec"
How does this happen? Thanks.