• Post Reply Bookmark Topic Watch Topic
  • New Topic
programming forums Java Mobile Certification Databases Caching Books Engineering Micro Controllers OS Languages Paradigms IDEs Build Tools Frameworks Application Servers Open Source This Site Careers Other Pie Elite all forums
this forum made possible by our volunteer staff, including ...
  • Campbell Ritchie
  • Tim Cooke
  • Devaka Cooray
  • Ron McLeod
  • Jeanne Boyarsky
  • Liutauras Vilda
  • paul wheaton
  • Junilu Lacar
Saloon Keepers:
  • Tim Moores
  • Stephan van Hulst
  • Piet Souris
  • Carey Brown
  • Tim Holloway
  • Martijn Verburg
  • Frits Walraven
  • Himai Minh

RegEx Error in Getting jobstatus in curl call

Posts: 1
  • Mark post as helpful
  • send pies
    Number of slices to send:
    Optional 'thank-you' note:
  • Quote
  • Report post to moderator
I am writing a curl command to get some job details about a job. The job detials have different variation of status depending on the state of the job
When the job is still executing it appears this way

I am trying to capture jobstatus in a a following different outputs

I am new with RegEx and here is what I have for the 2nd expression:
and it does not seem to match

I wanted to do validate with RegEx and then pass it to a grep to look for the value jobstatus

He was giving me directions and I was powerless to resist. I cannot resist this tiny ad:
the value of filler advertising in 2021
    Bookmark Topic Watch Topic
  • New Topic