title: PIG REGEX_EXTRACT ALL function -> no results
body: <p>I have been encountering an issue for several hours already. I have a .csv file with JSON strings inside. Every column in that .csv contains a string with several JSON objects. I imported several columns into PigStorage. Worked so far. Then I tried to extract the JSON objects which have the following form:</p>
  
  <blockquote>
    <p>[{"tmestmp":"2014-05-14T07:01:00","Value":0,"Quality":1},{"tmestmp":"2014-05-14T07:01:00.02","Value":10,"Quality":4},{"tmestmp":"2014-05-14T07:01:00.04","Value":17,"Quality":9},{"tmestmp":"2014-05-14T07:01:00.06","Value":75,"Quality":6},{"tmestmp":"2014-05-14T07:01:00.08","Value":63,"Quality":9}];</p>
  </blockquote>
  
  <p>This is one column.</p>
  
  <p>The <code>Regex_Extract_All</code> function does not work woth the following lines of code. Does anyone have an idea on that? I receive always empty results. Here is my code :</p>
  
  <pre><code> A = LOAD '/user/hue/test.csv' USING PigStorage(';') AS (timestamp, mv1, mv2,mv3,mv4,mv5); --using five columns
   B= foreach A generate mv1,mv2,mv3,mv4,mv5; --removing the timestamp in the first column, not needed anymore
   C= foreach B generate REGEX_EXTRACT_ALL($0, '(\\{[^{]*\\})')AS (T:tuple(r1,r2,r3,r4,r5)); 
  </code></pre>
  
  <p>If I use only one column instead of $0, it does not work as well.</p>
  
  <p>Any help or explanation is very welcome.</p>
  
  <p>Cheers,
  Joe</p>