regex over multiple lines in Groovy

(?m) makes the regex multiline – allows you to match beginning (^) and end ($) of string operators (in this case, to match the beginnings and ends of individual lines, rather than the whole string): /(?m)(EXECUTE).*?;/ (?s) – dotall flag – makes the regex match newlines with . (dot) operators: /(?s)(EXECUTE).*?;/

Multiline Textbox with automatic vertical scroll

According to this question: TextBox.ScrollToEnd doesn’t work when the TextBox is in a non-active tab You have to focus the text box, update the caret position and then scroll to end: Status.Focus(); Status.CaretIndex = Status.Text.Length; Status.ScrollToEnd(); EDIT Example TextBox: <TextBox TextWrapping=”Wrap” VerticalScrollBarVisibility=”Auto” AcceptsReturn=”True” Name=”textBox”/>

Hata!: SQLSTATE[HY000] [1045] Access denied for user 'divattrend_liink'@'localhost' (using password: YES)