<?xml version="1.0" encoding="UTF-8"?>
<commit>
  <added type="array">
    <added>
      <filename>behave-rails.el</filename>
    </added>
  </added>
  <modified type="array">
    <modified>
      <diff>@@ -109,7 +109,7 @@ If EXPR is not nil exeutes BODY.
      (replace-regexp-in-string
       &quot;\\([A-Z]+\\)\\([A-Z][a-z]\\)&quot; &quot;\\1_\\2&quot;
       (replace-regexp-in-string
-       &quot;\\([a-z\\d]\\)\\([A-Z]\\)&quot; &quot;\\1_\\2&quot;
+       &quot;\\([a-z0-9]\\)\\([A-Z]\\)&quot; &quot;\\1_\\2&quot;
        string)))))
 
 (defun string-not-empty (str) ;(+)
@@ -346,6 +346,21 @@ as the value of the symbol, and the hook as the function definition.&quot;
          history ; hist
          (car history-value))))) ;def
 
+;; railsy-replace
+(defun camelized-p (string)
+  &quot;Return nil unless string is in camelized format (first character is capital, there is at least on lower capital and all characters are letters of numbers&quot;
+  (let ((case-fold-search nil))
+      (string-match &quot;^[A-Z][A-Za-z0-9]*[a-z]+[A-Za-z0-9]*$&quot; string)))
+
+(defun underscored-p (string)
+  &quot;Return nil unless string is in underscored format (containing only lower case characters, numbers or underscores)&quot;
+  (let ((case-fold-search nil))
+    (string-match &quot;^[a-z][a-z0-9_]*$&quot; string)))
+
+(defun replace-rails-variable ()
+  (interactive)
+)
+
 ;; MMM
 
 ;; (defvar mmm-indent-sandbox-finish-position nil)</diff>
      <filename>rails-lib.el</filename>
    </modified>
  </modified>
  <removed type="array"/>
  <parents type="array">
    <parent>
      <id>16ae768634ee9371e9a2333d7e61f04cc1c241f3</id>
    </parent>
  </parents>
  <author>
    <name>Tom ten Thij</name>
    <email>git@tomtenthij.nl</email>
  </author>
  <url>http://github.com/tomtt/emacs-rails/commit/91593a653d643e9492e791894dd44b4bf3735596</url>
  <id>91593a653d643e9492e791894dd44b4bf3735596</id>
  <committed-date>2008-05-13T23:08:47-07:00</committed-date>
  <authored-date>2008-05-13T23:08:47-07:00</authored-date>
  <message>Adding some functionality to rails-lib, experimenting with elisp BDD framework, first test driven bug fix

I felt that tests were missing from the emacs rails package so I have
been experimenting a bit. There is now a behave-rails.el file which
contains contexts that can be used by Technomancy's behave BDD
framework. Although behave is old and no longer maintained it has some
nice features. I may go for a different framework in the end. To use
behave you can get it from git://github.com/tomtt/elisp_behave.git or
alternatively clone my entire emacslisp dir from
git://github.com/tomtt/tomtt_emacslisp.git.

The most interesting other framework out there seems to be el-expectations:
http://www.emacswiki.org/cgi-bin/wiki/EmacsLispExpectations</message>
  <tree>87524b2b5321429ac6babf2b281643a08c666628</tree>
  <committer>
    <name>Tom ten Thij</name>
    <email>git@tomtenthij.nl</email>
  </committer>
</commit>
