background preloader

Regex.learncodethehardway.org/book/

Regex.learncodethehardway.org/book/

Nodeclipse -- Node support for Eclipse Become a Programmer, Motherfucker If you don't know how to code, then you can learn even if you think you can't. Thousands of people have learned programming from these fine books: Learn Python The Hard Way Learn Ruby The Hard Way Learn Code The Hard Way I'm also working on a whole series of programming education books at learncodethehardway.org. Learn C The Hard Way Learn SQL The Hard Way Graphics Programming Language Agnostic NerdDinner Walkthrough Assembly Language Bash Clojure Clojure Programming ColdFusion CFML In 100 Minutes Delphi / Pascal Django Djangobook.com Erlang Learn You Some Erlang For Great Good Flex Getting started with Adobe Flex (PDF) Forth Git Grails Getting Start with Grails Haskell Java JavaScript JavaScript (Node.js specific) Latex The Not So Short Introduction to LATEX (perfect for beginners) Linux Advanced Linux Programming Lisp Lua Programming In Lua (for v5 but still largely relevant)Lua Programming Gems (not entirely free, but has a lot of free chapters and accompanying code) Maven Mercurial Nemerle Nemerle NoSQL Oberon Objective-C

Python Regular Expressions  |  Google for Education  |  Google Developers 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 = re.search(pat, str) The re.search() method takes a regular expression pattern and a string and searches for that pattern within the string. str = 'an example word:cat!!' The code match = re.search(pat, str) stores the search result in a variable named "match". The 'r' at the start of the pattern string designates a python "raw" string which passes through backslashes without change which is very handy for regular expressions (Java needs this feature badly!). Basic Patterns The power of regular expressions is that they can specify patterns, not just fixed characters. a, X, 9, < -- ordinary characters just match themselves exactly. findall

DirectX 11 Lessons/Tutorials First Direct3D 12 Tutorial finished! You can find the Braynzar Soft Initializing Direct3D 12 tutorial here. It's been a while since i've written a tutorial, so if you see anything that is confusing or anything i might change, let me know~ Finished moving over tutorials! I've finally finished moving over the old tutorials to the new site. Tutorials section Part of the new website is a tutorials section which will make writing tutorials for me easier, and where you are free to create your own tutorials if you wish. Questions section I\'ve decided to go with a questions section rather than a forum. DirectX 12 Tutorials Coming soon! This is the new and hopefully improved Braynzar Soft website! More News >

Regular Expression Quick Start This quick start gets you up to speed quickly with regular expressions. Obviously, this brief introduction cannot explain everything there is to know about regular expressions. For detailed information, consult the regular expressions tutorial. Each topic in the quick start corresponds with a topic in the tutorial, so you can easily go back and forth between the two. Many applications and programming languages have their own implementation of regular expressions, often with slight and sometimes with significant differences from other implementations. Text Patterns and Matches A regular expression, or regex for short, is a pattern describing a certain amount of text. Characters with special meanings in regular expressions are highlighted in various different colors. Literal Characters The most basic regular expression consists of a single literal character, such as a. This regex can match the second a too. Learn more about literal characters Character Classes or Character Sets Anchors q(? q(?!

PyRegex Introducing Verlet-JS - Sub Protocol Particle meets constraint, and so verlet-js was born. I was experimenting with code one evening and ended up accidentally stumbling onto a new playground for my imagination, and what has now become verlet-js. It is all based off an iterative technique called Verlet integration, which greatly simplifies force and motion calculations. The gist of it is that you can easily model intricate objects and dynamic behaviors—and it's insanely fun! What I've built so far How it works Verlet-js exposes 3 basic primitives to you: particle: A point in space.constraint: Links particles together given some criteria and operational params.composite: A grouping of particles and constraints that let you have many objects in a scene. With these primitives you just start building and connecting things together. Canonical 'Hello world!' All it takes is an HTML5 canvas, a VerletJS object, and you can be well on your way to creating your very own monstrosity. sim.frame(16); See the Shapes example for full source code.

Book Reviews by Joel Spolsky Wednesday, March 13, 2002 “Pretty close to the perfect short list for any programmer” — Jan Derk You can learn a lot about somebody by the books they've read. And I've always thought that if you read all the same books I read, you'll come to think like me, too. So here it is -- Joel's Programmer's Bookshelf. Painless Software Management Peopleware: Productive Projects and TeamsTom Demarco and Timothy R. As summer interns at Microsoft, my friends and I used to take "field trips" to the company supply room to stock up on school supplies. The Mythical Man-MonthFrederick P. Certainly one of the classics of software project management, this book first appeared a quarter of a century ago, when Fred Brooks tried to run one of the first very large scale software engineering projects (the OS/360 operating system at IBM) and became the first person to describe how radically different software is from other types of engineering. Code Craftsmanship Philosophy of Programming Graphic Design

Python Regular Expressions Advertisements A regular expression is a special sequence of characters that helps you match or find other strings or sets of strings, using a specialized syntax held in a pattern. Regular expressions are widely used in UNIX world. The Python module re provides full support for Perl-like regular expressions in Python. We would cover two important functions, which would be used to handle regular expressions. The match Function This function attempts to match RE pattern to string with optional flags. Here is the syntax for this function − re.match(pattern, string, flags=0) Here is the description of the parameters − The re.match function returns a match object on success, None on failure. Example #! When the above code is executed, it produces following result − matchObj.group() : Cats are smarter than dogs matchObj.group(1) : Cats matchObj.group(2) : smarter The search Function This function searches for first occurrence of RE pattern within string with optional flags. #! Matching Versus Searching #!

Related: