Questions tagged [regexbuddy]

RegexBuddy is a commercial Regular Expression IDE made by Just Great Software. It supports development and debugging of regular expressions for most major programming languages and applications.

RegexBuddy is a commercial Regular Expression IDE made by Just Great Software. It supports development and debugging of regular expressions for most major programming languages and applications.

27 questions
89
votes
9 answers

Regular expression to match URLs in Java

I use RegexBuddy while working with regular expressions. From its library I copied the regular expression to match URLs. I tested successfully within RegexBuddy. However, when I copied it as Java String flavor and pasted it into Java code, it does…
Sergio del Amo
  • 71,609
  • 66
  • 148
  • 177
12
votes
3 answers

Character class subtraction, converting from Java syntax to RegexBuddy

Which regular expression engine does Java uses? In a tool like RegexBuddy if I use [a-z&&[^bc]] that expression in Java is good but in RegexBuddy it has not been understood. In fact it reports: Match a single character present in the list below…
xdevel2000
  • 19,270
  • 35
  • 120
  • 188
8
votes
2 answers

Regex named capture groups in Delphi XE

I have built a match pattern in RegexBuddy which behaves exactly as I expect. But I cannot transfer this to Delphi XE, at least when using the latest built in TRegEx or TPerlRegEx. My real world code have 6 capture group but I can illustrate the…
6
votes
1 answer

Do any of the flavors of regex in Regex Buddy coincide with NSRegularExpression (ICU) regex?

NSRegularExpression says its flavor of regex is "ICU." I have RegexBuddy, which supports a bunch of different flavors, but none of them calls itself "ICU." But is one of them ICU under another name?
William Jockusch
  • 26,421
  • 48
  • 170
  • 299
5
votes
2 answers

Unclosed character class near index nnn

I'm borrowing a rather complex regex from some PHP Textile implementations (open source, properly attributed) for a simple, not quite feature complete Java implementation, textile4j, that I'm porting to github and syncing to Maven central (the…
javafueled
  • 390
  • 1
  • 4
  • 19
5
votes
2 answers

Where does RegexBuddy store its working data between uses?

Ok, so I'm an idiot. So I was working on a regex that took way to long to craft. After perfecting it, I upgraded my work machine with a blazing fast hard drive and realized that I never saved the regex anywhere and simply used RegexBuddy's…
Spencer
  • 75
  • 1
  • 5
5
votes
3 answers

java regex to exclude specific strings from a larger one

I have been banging my head against this for some time now: I want to capture all [a-z]+[0-9]? character sequences excluding strings such as sin|cos|tan etc. So having done my regex homework the following regex should…
nvrs
  • 710
  • 2
  • 17
  • 25
4
votes
2 answers

What are "steps" in RegexBuddy?

RegexBuddy on the tab "Debug" shows how regular expressions are executed step by step. But what exactly that steps mean? What operations are behind every step?
Konstantin Smolyanin
  • 14,955
  • 10
  • 46
  • 42
4
votes
2 answers

Delphi - TPerlRegEx / RegExBuddy Problem

I've got a problem with RegEx and Delphi 2k9 (Win32). I get the following Error: First chance exception at $7C812AFB. Exception class Exception with message 'TPerlRegEx.Compile() - Please specify a regular expression in RegEx first'. I've got…
Brad
  • 2,211
  • 5
  • 38
  • 68
2
votes
4 answers

Why doesn't this Java regular expression work?

I need to create a regular expression that allows a string to contain any number of: alphanumeric characters spaces ( ) & . No other characters are permitted. I used RegexBuddy to construct the following regex, which works correctly when I test it…
John Topley
  • 107,187
  • 45
  • 188
  • 235
2
votes
1 answer

How to capture text between XML Summary?

I have single-line and multi-line XML Summary texts, that look like these. /// This is a single-line XML comment. /// This is a multi-line XML comment. /// These are additional lines with more text. /// Some more of…
chuacw
  • 1,100
  • 1
  • 19
  • 34
2
votes
2 answers

regexbuddy sometime do not backtrack

When i use the regex IID:\s*\d*0 to match ID: 12344y the regexbuddy give me the result https://raw.github.com/litsand/litsand.github.com/master/_posts/pic/4.png it backtrack \d* to find the match ,but don't backtrack the \s* when i change the…
litsand
  • 23
  • 3
1
vote
5 answers

Regex in Python

Goal: Given a number (it may be very long and it is greater than 0), I'd like to get the five least meaningful digits dropping any 0 at the end of that number. I tried to solve this with regex, Helped by RegexBuddy I came to this…
Andrea Ambu
  • 34,172
  • 14
  • 51
  • 76
1
vote
2 answers

how to use long regex strings in php

i have this regex string that i got from a website to pull emails from a…
AlexMorley-Finch
  • 6,144
  • 15
  • 62
  • 100
1
vote
1 answer

Regex not Triggering VBA

This is my regex: Dim vbRegX As Object, vbRegXMatch As Object Set vbRegX = CreateObject("vbscript.regexp") With vbRegX .Global = True .IgnoreCase = True .Pattern = "^[a-zA-Z0-9_-]{1,20}$" End With code that…
Doug Coats
  • 4,230
  • 5
  • 21
  • 40
1
2