Hi!

I cannot get the RegExp.Replace function to work in a GUI application
(works wery well with CLI programs though...)

One example is a simple form with tree components TextEdit, TextBox and a
Button, with the following code:

Public Sub btnFind_Click()

  Try txtText.Text = RegExp.Replace(txtText.Text, "(" & EdtExp.Text & ")",
"_&1_")
  If Error Then Message.Error(Error.Text)

End

No matter what expression I throw at it, I get this error: "unknown option
bit(s) set"

Seing it works in CLI mode, I guess there must be a bug?
------------------------------------------------------------------------------
DreamFactory - Open Source REST & JSON Services for HTML5 & Native Apps
OAuth, Users, Roles, SQL, NoSQL, BLOB Storage and External API Access
Free app hosting. Or install the open source package on any LAMP server.
Sign up and see examples for AngularJS, jQuery, Sencha Touch and Native!
http://pubads.g.doubleclick.net/gampad/clk?id=63469471&iu=/4140/ostg.clktrk
_______________________________________________
Gambas-user mailing list
Gambas-user@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/gambas-user

Reply via email to