fork(3) download
  1. class Ideone {
  2. static void main(String[] args) {
  3. def erg='[EM6111949VA61=cfefcgjnjcidaiieodmlgfijaiknankpiodhghbagndikijiieicfhiiiojmfcfgjjkokkoilinbkkedcaafplikgjhomkhnopjhfhpjgkadalbkeenengiapjpeaiemokenfckjbeho; path=/bla/bla; secure; HttpOnly]'
  4. def regex = /(?<=\[)\w+=\w+/
  5. def muster = erg =~ regex
  6. (0..<muster.count).each { print muster[it] }
  7.  
  8.  
  9. }
  10. }
  11.  
Success #stdin #stdout 0.85s 4456448KB
stdin
Standard input is empty
stdout
EM6111949VA61=cfefcgjnjcidaiieodmlgfijaiknankpiodhghbagndikijiieicfhiiiojmfcfgjjkokkoilinbkkedcaafplikgjhomkhnopjhfhpjgkadalbkeenengiapjpeaiemokenfckjbeho