background preloader

Rubular: a Ruby regular expression editor and tester

Rubular: a Ruby regular expression editor and tester
Do you care about the future of journalism? Vox Media needs outstanding engineers to scale world-class journalism and storytelling. Rubular a Ruby regular expression editor Rubular is a Ruby-based regular expression editor. It's a handy way to test regular expressions as you write them.

Related:  Expressions rationnellesData Manipulation using REGEXRORCode / OutilRegular Expressions

Regular Expression Tutorial - Learn How to Use Regular Expressions This tutorial teaches you all you need to know to be able to craft powerful time-saving regular expressions. It starts with the most basic concepts, so that you can follow this tutorial even if you know nothing at all about regular expressions yet. The tutorial doesn't stop there. It also explains how a regular expression engine works on the inside, and alert you at the consequences. Rails Beginner Cheat Sheet Bold words are what is really important e.g. the command and concept shown in the usage category. In the code usage and example columns these highlight the main part of the concept, like this: general_stuff.concept. In the same columns italic_words mark the arguments/parameters of a command/method. However italic words in the descriptions or general text denote more general concepts or concepts explained elsewhere in this cheat sheet or in general. The console (also called command line, command prompt or terminal) is just another way of interacting with your computer.

Tracker Basics - GHOSTERY Chances are, you visit a huge array of different websites every day. What you might not know is that while you do that, there is an “invisible web” at work: companies are following your activities, collecting your data, and using it in various ways. They do it through technology known as “trackers.” Python Regular Expressions - Educational Materials Regular expressions are a powerful language for matching text patterns. This page gives a basic introduction to regular expressions themselves sufficient for our Python exercises and shows how regular expressions work in Python. The Python "re" module provides regular expression support. In Python a regular expression search is typically written as: match =, str) The method takes a regular expression pattern and a string and searches for that pattern within the string.

Perl RegEx (référence) <div class="noscript"><p><strong>Please note: Many features of this site require JavaScript. You appear to have JavaScript disabled, or are running a non-JavaScript capable web browser.</strong></p><p> To get the best experience, please enable JavaScript or download a modern web browser such as <a href=" Explorer 8</a>, <a href=" <a href=" or <a href=" Chrome</a>. </p></div>

.NET Framework Regular Expressions Regular expressions provide a powerful, flexible, and efficient method for processing text. The extensive pattern-matching notation of regular expressions enables you to quickly parse large amounts of text to find specific character patterns; to validate text to ensure that it matches a predefined pattern (such as an e-mail address); to extract, edit, replace, or delete text substrings; and to add the extracted strings to a collection in order to generate a report. For many applications that deal with strings or that parse large blocks of text, regular expressions are an indispensable tool. The centerpiece of text processing with regular expressions is the regular expression engine, which is represented by the System.Text.RegularExpressions.Regex object in the .NET Framework.

Buckblog: Little Things: Refactoring with Hashes 14 November 2015 — The author presents a simple refactoring from case statement to hash table, as an ode to Ruby's "little things" — 2-minute read Ruby owes its popularity to an abundance of “little things”–small touches in just the right places that make all of its features come together in delightful ways. One of those little things, for me, is the humble Hash class. pollstr Privacy Policy This privacy policy has been compiled to better serve those who are concerned with how their 'Personally identifiable information' (PII) is being used online. PII, as used in US privacy law and information security, is information that can be used on its own or with other information to identify, contact, or locate a single person, or to identify an individual in context. Please read our privacy policy carefully to get a clear understanding of how we collect, use, protect or otherwise handle your Personally Identifiable Information in accordance with our website. What personal information do we collect from the people that visit our blog, website or app?

Writing programs using ordinary language In a pair of recent papers, researchers at MIT’s Computer Science and Artificial Intelligence Laboratory have demonstrated that, for a few specific tasks, it’s possible to write computer programs using ordinary language rather than special-purpose programming languages. The work may be of some help to programmers, and it could let nonprogrammers manipulate common types of files — like word-processing documents and spreadsheets — in ways that previously required familiarity with programming languages. But the researchers’ methods could also prove applicable to other programming tasks, expanding the range of contexts in which programmers can specify functions using ordinary language. “I don’t think that we will be able to do this for everything in programming, but there are areas where there are a lot of examples of how humans have done translation,” says Regina Barzilay, an associate professor of computer science and electrical engineering and a co-author on both papers.

8 Regular Expressions You Should Know Regular expressions are a language of their own. When you learn a new programming language, they're this little sub-language that makes no sense at first glance. Many times you have to read another tutorial, article, or book just to understand the "simple" pattern described. Five Active Record Features You Should Be Using · A Year of Commits 15 Nov 2015 Active Record is responsible for communicating with the persistence layer by default in Ruby on Rails applications. Using Active Record effectively and efficiently can greatly improve an application's code. Ajax Translator Revolution Pro - PHP Scripts Ajax Translator Revolution Pro Ajax Translator Revolution Pro is a tool for translating websites, with a friendly user interface. Provides a set of options to customize the translator to accomplish any translation task, such as: Translate AJAX generated text Translate cufon text Select exactly what parts of the page should be translated and exclude others Remember user selected languages and auto translate feature Show languages flags and names, or just names, or just flags 74 documented options to customize

What every programmer absolutely, positively needs to know about encodings and character sets to work with text — If you are dealing with text in a computer, you need to know about encodings. Period. Yes, even if you are just sending emails. Even if you are just receiving emails. You don't need to understand every last detail, but you must at least know what this whole "encoding" thing is about.

Related:  RubySheetsProgRubyRuby/Ruby on Rails