Problem I am trying to identify a java function block addition in a diff file (new line start with + […]
Category: Regex
Regex in combination with file compare
Problem I have made a funtion to compare text files line by line, where timestamps and jobnumbers are replaced for […]
Evaluate/Refactor my ASP.NET XSS Security Helper Class
Problem I am maintaining a site with significant security concerns and I wrote a helper class for validating potential XSS […]
Perl script to match case law references
Problem I am very new to Perl and decided to work on a simple script that could solve a problem […]
Python App that parses file for lines that match a format
Problem I recently wrote some code that was dinged on not having well defined tests and poor modularity. Was hoping […]
Perl module validate quoted string literal, test with Test::LectroTest
Problem I guess for some motivation: I ripped this out of a larger library I’m half-working on to parse S-expressions […]
Basic JavaScript template engine using replace, match and RegExp
Problem To practice with regular expressions, I wrote this basic template engine in JavaScript in addition to a simple test […]
Python pattern searching using re standard lib, str.find()
Problem I’m trying to improve some code in order to get a better perfomance, I have to do a lot […]
Check if a string contains a set of characters
Problem I have written this piece of code to check if a string contains a set of characters, regardless of […]
Regex for mobile number validation [closed]
Problem Closed. This question needs details or clarity. It is not currently accepting answers. Want to improve this question? Add […]