summaryrefslogtreecommitdiff
path: root/tests/lexers/irc
diff options
context:
space:
mode:
Diffstat (limited to 'tests/lexers/irc')
-rw-r--r--tests/lexers/irc/example.txt57
1 files changed, 57 insertions, 0 deletions
diff --git a/tests/lexers/irc/example.txt b/tests/lexers/irc/example.txt
new file mode 100644
index 00000000..b86fd46d
--- /dev/null
+++ b/tests/lexers/irc/example.txt
@@ -0,0 +1,57 @@
+---input---
+**** Beginning of log 2007 Sep 01 00:23:55 ****
+2007 Sep 01 00:23:55 --> weechat_user (weechat@localhost.) ist in den Channel &bitlbee gekommen
+2007 Sep 01 00:23:55 -=- Modus &bitlbee [+t] durch localhost.
+2007 Sep 01 00:23:55 -@- Nicks &bitlbee: [@root @weechat_user]
+2007 Sep 01 00:23:55 -=- Channel &bitlbee: 2 Nicks (2 Operatoren, 0 Halb-Operator, 0 Gevoiceter, 0 normal)
+2007 Sep 01 00:23:55 -=- Das Topic von &bitlbee lautet: "Welcome to the control channel. Type help for help information."
+2007 Sep 01 00:23:55 <root> Welcome to the BitlBee gateway!
+2007 Sep 01 00:23:55 <root>
+2007 Sep 01 00:23:55 <root> If you've never used BitlBee before, please do read the help information using the help command. Lots of FAQ's are answered there.
+# check for fixed pathological matching behavior
+1111111111111111111111111111111
+
+---tokens---
+'**** Beginning of log 2007 Sep 01 00:23:55 ****' Comment
+'\n' Text
+
+'2007 Sep 01 00:23:55 ' Comment.Preproc
+'--> ' Keyword
+'weechat_user ' Literal.String
+'(weechat@localhost.) ist in den Channel &bitlbee gekommen\n' Comment
+
+'2007 Sep 01 00:23:55 ' Comment.Preproc
+'-=- ' Keyword
+'Modus ' Literal.String
+'&bitlbee [+t] durch localhost.\n' Comment
+
+'2007 Sep 01 00:23:55 ' Comment.Preproc
+'-@- ' Keyword
+'Nicks ' Literal.String
+'&bitlbee: [@root @weechat_user]\n' Comment
+
+'2007 Sep 01 00:23:55 ' Comment.Preproc
+'-=- ' Keyword
+'Channel ' Literal.String
+'&bitlbee: 2 Nicks (2 Operatoren, 0 Halb-Operator, 0 Gevoiceter, 0 normal)\n' Comment
+
+'2007 Sep 01 00:23:55 ' Comment.Preproc
+'-=- ' Keyword
+'Das ' Literal.String
+'Topic von &bitlbee lautet: "Welcome to the control channel. Type help for help information."\n' Comment
+
+'2007 Sep 01 00:23:55 ' Comment.Preproc
+'<root> ' Name.Tag
+'Welcome to the BitlBee gateway!\n' Text
+
+'2007 Sep 01 00:23:55 ' Comment.Preproc
+'<root> ' Name.Tag
+'\n' Text
+
+'2007 Sep 01 00:23:55 ' Comment.Preproc
+'<root> ' Name.Tag
+"If you've never used BitlBee before, please do read the help information using the help command. Lots of FAQ's are answered there.\n" Text
+
+'# check for fixed pathological matching behavior\n' Text
+
+'1111111111111111111111111111111\n' Text