3
votes
0answers
404 views

Parsing Skype logs

I found a .dbb file, contactgroup256.dbb , and would like to read it. Can I load it into MySQL somehow? There's a python script to grab contact photos, but I was looking for just the name and phone ...
1
vote
0answers
64 views

NLTK regexp for noun phrases to not match ending with a preposition

I'm trying to identify noun phrases using NLTK, but am still a little green on regular expressions. I was originally using a regexp like this: NP: {<PP\$>?<JJ.*>*<NN.*>+} But I ...
1
vote
0answers
92 views

Effective way to search error handling bugs (regexes, parsers)

I'd like to search over thousands of files of c# code, for some evil places, where exceptions are possibly taken under the cover or at least not logged. I need regex expression which is able to find ...
1
vote
0answers
77 views

Regexp to match members declaration of Java source files

In a Javalike language where parsers and other advanced methods do not exist I want to parse and evaluate source files. It's the language Apex from the proprietary cloud platform Salesforce.com. I ...
1
vote
0answers
83 views

Parsing QIF file - .NET ported to Java

I have code that parses a .qif file using .NET. I'm attempting to port this code to Java, but am having trouble with the Regular Expression that does part of the parsing. Here is a sample of the ...
1
vote
0answers
100 views

Markdown implementation in PHP parses text within <a> tags — how does one disable this behavior?

I'm using the Markdown library for PHP by Michel Fortin. I started noticing that it formats the text in tags with markdown rules, like so: http://foo.com/My_Url_With_Underscores essentially ...
0
votes
0answers
24 views

Parsing with GROK

I have a log of this form 2013/05/09-05:19:16.876 T_RPC coreSlave1 stats [0000000000000000/00000000000000000000] arbitrERR_SYSTEMaryyyy Now I want to retain the entire log message as ...
0
votes
0answers
26 views

How to find the medium and search keyword using referrer - Web Analytics?

I have taken the referrer using the document.referrer from DOM. I had found some of the parameters like(port, source, host, etc.) using parseUri funtion. Now how can I find out the medium and search ...
0
votes
0answers
50 views

Parsing for pointer and array variables using TCL

I am trying to make a rule on Vera++ using TCL. This rule has to parse a c++ source code file and check for pointer and array variables and appends p_ or a_ before the variables depending what type ...
0
votes
0answers
84 views

Parsing a Log File with regular expression

I need to write a parser for log file. I'm doing the regular expression but I'm finding some problems. Here is the first line: s0001 | smich | 02-03-2013 13:55:42 (Tue Mar 2013) | 2 This is the ...
0
votes
0answers
94 views

Uri.UnescapeDataString fails on different computer

On my dev computer everything was working fine and dandy but when I tested the program on a different Windows7 computer I was getting a System.UriFormatException: Invalid URI: There is an invalid ...
0
votes
0answers
64 views

string placeholders in html

I'm trying to make a syntax directed translation for regexes and I'm having trouble with referencing a value withing a DOM. The problem I am having is, if i input "a|b", instead of showing "a|b" in ...
0
votes
0answers
66 views

How can I handle nested arrays in this regex based JSON to XML converter

I just hacked together a json to xml converter, which more or less parses the json, and manipulates it directly into xml in the regex callback function. I have completely invented this method, so I am ...
0
votes
0answers
27 views

Auto-link-text (take host name into account when truncating)

I'm using the code posted here by pix0r in his revised version of Daring Fireball's Auto Link Text function. It works brilliantly except that in some cases, the actual domain/host name is quite long ...
0
votes
0answers
137 views

PHP: Parsing Comma-Separated Values Between Square Brackets into Multi-Dimensional Array

I have the following string: [aaaa,bbbb,cccc] [aaaa,bbbb,cccc] [aaaa,bbbb,cccc] [aaaa,bbbb,cccc] [aaaa,bbbb,cccc] and would like to parse this string into a multidimensional array that would look ...

1 2 3 4 5 7
15 30 50 per page