#2266 Regex not Serializable

SlimerDude Fri 18 Apr 2014

Should it be? It is a const class afterall.

class Example {
  Void main() {
    regex := "wotever".toRegex
    Buf().writeObj(regex) // --> sys::IOErr: Not serializable: sys::Regex
  }
}

brian Tue 22 Apr 2014

Yeah is should be - I pushed a fix

Login or Signup to reply.