search for: oniguruma

Displaying 13 results from an estimated 13 matches for "oniguruma".

2010 Feb 27
3
Oniguruma and Ultraviolet on Windows 7
Hi I have been tying to install the followings gems in order to add code syntax highlighting to my application: -Oniguruma -Ultraviolet -Harsh Unfortunately I have been running into the the following errors when running "gem install oniguruma ultraviolet" Building native extensions. This could take a while... ERROR: Error installing oniguruma: ERROR: Failed to build gem native extension. C:/Ruby1...
2011 Aug 17
4
How to use Oniguruma in ruby 1.9.2?
Hello Guys , Can anyone explain me how to use Oniguruma in ruby 1.9.2 , I guess in ruby 1.9.2 its a default library so there is no need to install externally? I was using Oniguruma::ORegexp.new( in ruby 1.8.7 . Thanks Nishant -- You received this message because you are subscribed to the Google Groups "Ruby on Rails: Talk" group. To po...
2008 Feb 03
4
Extract vowels and consonants using Ruby Regex
Hello, I am trying to build a regex to extract vowels and consonants from a string. So far, I am able to extract the basic a-e-i-o-u sequence using the following extension to the String class: class String def vowels scan(/[aeiou]/i) end def consonants scan(/[^aeiou]/i) end end examples: >> "Mary had a little lamb".vowels => aaaiea >> "Mary had a
2015 Jan 08
0
Package "ore": Oniguruma Regular Expressions
Dear all, I'm pleased to announce the availability of the "ore" package (for "Oniguruma Regular Expressions"), which offers an alternative to base R's functions for searching, splitting and substituting text which matches (Perl-style) regular expressions. The package uses the Oniguruma/Onigmo regex library behind the scenes, and offers the following advantages: - Regular exp...
2015 Jan 08
0
Package "ore": Oniguruma Regular Expressions
Dear all, I'm pleased to announce the availability of the "ore" package (for "Oniguruma Regular Expressions"), which offers an alternative to base R's functions for searching, splitting and substituting text which matches (Perl-style) regular expressions. The package uses the Oniguruma/Onigmo regex library behind the scenes, and offers the following advantages: - Regular exp...
2007 Aug 27
0
how can I get malformed UTF-8 characters to display properly?
...nail, steel surround, contains the text "Steel has that effect where you''d least expect it". The '' character shows up as Õ when I use the method below, and the "d" is just swallowed. data.gsub!(/\323/, ''&quot;'') require ''oniguruma'' o = Oniguruma::ORegexp.new(''[^[:ascii:]]'') # o = Oniguruma::ORegexp.new(''[^[:ascii:]]'', {:encoding => Oniguruma::ENCODING_UTF8}) chars = [] data.each_char{|c|chars << c} chars.collect do |c| if o.match c begin...
2009 Jul 06
8
how to make ZenTest autotest run whenever my tests change
Railsters: Despite Rails being the only Web platform designed for TDD, a lot of its test infrastructure is still "cargo cult" - imitating other test rigs instead of understanding their principles. Most importantly, tests should run instantly. There''s no excuse for breaking this rule, and if you invent a platform that can''t obey it then you are doing something
2006 Mar 19
3
Ferret 0.9.0-alpha (port of Apache Lucene to pure ruby)
Hi Folks, I''ve just released version 0.9.0. This latest version of Ferret is an alpha release. I have removed the old c extension and Ferret is now running on a fully ported C library. This has allowed some huge performance improvements both with regard to memory and CPU usage. There will probably be a few portability issues to start with. It has been developed on Linux so it should
2009 Feb 05
0
Slide Show (S9) Gem V0.7 - Better Support for More Markdown (Ruby) Libs and More
Hello, == What's new in 0.7? I removed the dependency on Maruku (and Oniguruma) and now allow and check for optional installed Markdown libraries/gems. For now the search order for markdown libraries is first come, first serve, that is: rdiscount > rpeg-markdown > maruku > bluecloth (fallback, always present because it's required in gem spec). If you want t...
2008 Jan 18
5
How do I pass form values from POST controller specs?
...0.3.1) libxml-ruby (0.5.2.0) liquid (1.7.0) logging (0.5.3) markaby (0.5) memcache-client (1.5.0) merb (0.5.2) merb_activerecord (0.5) meta_project (0.4.15) mime-types (1.15) mocha (0.5.5) mongrel (1.1.3, 1.1.1) mongrel_cluster (1.0.5) needle (1.3.0) net-sftp (1.1.0) net-ssh (1.1.2) newgem (0.16.1) oniguruma (1.1.0) open4 (0.9.6) ParseTree (2.1.1, 2.0.2) pdf-storycards (0.0.1) pdf-writer (1.1.7, 1.1.4) piston (1.3.3) Platform (0.4.0) plist (3.0.0) rack (0.2.0) rails (2.0.2) rake (0.8.1) rb-appscript (0.4.0) rcov (0.8.1.2.0) RedCloth (3.0.4) rspec (1.1.1) rubigen (1.1.1) ruby-growl (1.0.1) ruby2ruby (1....
2004 Nov 18
17
Wx::Grid Questions ...
I am trying to use a grid widget in my application, but run into a number of issues: -- Can they be placed in a panel? Or better yet, placed in sizer with other controls? I have only been able to place a grid inside a frame. -- Can you designate multiple rows (or columns) as being used for labels? -- Can you create cells that span cols (or rows)? -- What events are available to trigger on? How
2005 Feb 09
85
Introduce yourself and your project -- Round 2
...io, which is an Anglo-African Creole language spoken in various parts of West Africa, uses some phonetic characters for extra vowels and therefore the entire collection (which is HUGE and growing!) is encoded using UTF-16. I''ve implemented a very fast text scanner in C that interfaces with Oniguruma, and Rails is used to provide a good frontend for it and handle the DB part. Day job: Working on a _huge_ administrative application for HUMlab, a computer lab for people from all disciplines (but with main focus on the humanities). The app will manage/create user accounts, handle all courses held...
2008 Jan 03
23
deployment survey
Hello Mongrels, Building on the last messages about Fastthread, can we get a detailed survey of the different ways people are deploying their applications? It will help with near-future Mongrel development. Please include the following things: * Framework, if any (Camping, Merb, Rails, Nitro, Ramaze, IOWA, Rack...) * Mongrel version * Mongrel handlers used (rails, dirhandler, camping,