Project

kang

0.0
No commit activity in last 3 years
No release in over 3 years
The Ruby Regex Debugger. Put your regex in the top pane, and your match text in the bottom pane. Kang will highlight the match text that matches and show you any match groups you have created down the right hand side.
2005
2006
2007
2008
2009
2010
2011
2012
2013
2014
2015
2016
2017
2018
2019
2020
2021
2022
2023
2024
 Dependencies

Runtime

~> 1.2.5
~> 1.12.4
~> 1.2.5
~> 1.2.5
~> 1.2.5
~> 1.2.5
 Project Readme

KANG - The Ruby Regex Debugger

Homepage

DESCRIPTION

This is a cross-platform GUI application. To run it you'll need Ruby (1.8.7, 1.9.2, 1.9.3, and 2.0.0 have been tested) and the gtk2 gem (tested through 1.2.2). Ruby 2.0 requires gtk >= 1.2.5.

SYNOPSIS:

  • gem install kang (see INSTALL below)
  • kang

REQUIREMENTS:

  • ruby
  • rubygems
  • gtk2 gem
  • gtk2 libraries

INSTALL:

Linux:

First you will need gtk2, which is more than likely already installed if you are running X Windows. Unfortunately chances are you'll have the libraries but not the dev packages with the header files. Here are the dev packages that I had to add on Ubuntu 11/12:

  • libglib2.0-dev
  • libatk1.0-dev
  • libcairo2-dev
  • libpango1.0-dev
  • libgdk-pixbuf2.0-dev

So use apt/rpm/etc. to install the dev packages. Then run:

gem install kang

This will install all the gem dependencies.

Mac OS X:

brew install gtk+

gem install kang If you run into errors involving libffi and libffi.pc not being found, add this in front of the gem install command: PKG_CONFIG_PATH=/usr/local/Cellar/libffi/3.0.13/lib/pkgconfig

Windows:

The Windows GTK gems include all the binary bits of GTK ready to go for Windows. Just run:

gem install kang

LICENSE:

Copyright (c) 2014 Tony Doan tdoan@tdoan.com. All rights reserved. This software is licensed as described in the file COPYING, which you should have received as part of this distribution. The terms are also available at http://github.com/tdoan/kang/tree/master/COPYING. If newer versions of this license are posted there, you may use a newer version instead, at your option.