This week's book giveaway is in the Kotlin forum.
We're giving away four copies of Kotlin in Action and have Dmitry Jemerov & Svetlana Isakova on-line!
See this thread for details.
Win a copy of Kotlin in Action this week in the Kotlin forum!
  • Post Reply Bookmark Topic Watch Topic
  • New Topic

RegEx Error in Getting jobstatus in curl call  RSS feed

Beth Ruaro
Posts: 1
  • Mark post as helpful
  • send pies
  • 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

  • Post Reply Bookmark Topic Watch Topic
  • New Topic
Boost this thread!