Adsense

TCL regEX parsing

set Output " ---
   enabled: no
 ..."

 if {[regexp -nocase -- {enabled:[ \t]+([^\r\n]+)} $Output - defaultState]} {
puts "Default State status is: $defaultState"
}


The output is :

sh-4.2# tclsh main.tcl                                                                                                                                                                                                                        
Hello World!                                                                                                                                                                                                                                  
Default State status is: no    

1 comment:

  1. Are you searching for Best Hire SEO Freelancer-?Digital freelancer360 is one of the Best Hire SEO Freelancerhen your strength with the best SEO Freelancer you not only growth traffic to your website but also add to your produce objectivity. Your brand would become directly recognizable and support you adapt casual visitors into loyal users/clients. . Visit website-http://digitalfreelancer360.com Ph:8920928177

    ReplyDelete

comment here

newest questions on wordpress