Commit Graph
65 Commits
Author SHA1 Message Date
José Valim db93ebb9ad Remove orelse and andalso in favor of only and and or. 2012-02-23 09:48:47 +01:00
José Valim b4e5245515 Revert "Demote andalso and orelse from operators."
This reverts commit 246682755c.

Conflicts:

	lib/module.ex
2012-02-05 20:51:56 +01:00
José Valim ee2c03217e Revert "Get rid of defp in favor of data and @visibility :private."
This reverts commit 20e4b3a5f9.
2012-01-20 22:55:03 +01:00
José Valim 20e4b3a5f9 Get rid of defp in favor of data and @visibility :private. 2012-01-20 19:42:23 +01:00
José Valim 246682755c Demote andalso and orelse from operators. 2012-01-19 10:08:41 +01:00
José Valim 28d27d44d1 Escape chars also need to be eescaped on inspect. 2012-01-11 07:15:15 +01:00
José Valim f59cc01109 No need to reverse at the end. 2012-01-08 18:45:54 +01:00
José Valim 5c57dfe24c Extract string. 2012-01-05 18:41:10 +01:00
José Valim bf0e962c70 Clean up old Elixir code. 2011-12-16 20:38:19 +01:00
drexin cbf1539ed3 added each_line and comments for the each_* methods to string 2011-08-23 15:41:01 +02:00
drexin f41e3705be added ruby like each_char and each_byte to string 2011-08-23 07:32:47 +02:00
Ryan Huffman 97d17167ac Add to_i to String 2011-08-21 16:54:52 -07:00
José Valim 68812b4066 Add wildcard tests. 2011-06-27 09:48:02 -03:00
José Valim 3f231f31eb Add count and * to string. 2011-06-25 12:17:19 -03:00
José Valim fbb10f0ec8 Iterate the chars instead of regexp. 2011-06-25 11:37:21 -03:00
José Valim 943f3ac5db Split inspect into different tests. 2011-06-25 11:19:48 -03:00
José Valim 4fed302df0 Properly fix line break in strings. 2011-06-25 11:09:17 -03:00
José Valim a982ed9ad6 Also escape \r and \n from strings. 2011-06-25 10:51:36 -03:00
José Valim 7c5288ad1c String inspect properly handle quoted strings and interpolation. 2011-06-25 01:20:16 -03:00
José Valim e6fff06412 Clean up Regexp API. 2011-06-10 13:38:53 +02:00
José Valim 7efeb8705f Add explicit to_str conversion. 2011-06-10 13:19:14 +02:00
José Valim 50bb9ab0ea Tidy up conversions. 2011-06-10 13:19:14 +02:00
José Valim fb08001721 Rename Instance -> Behavior. 2011-06-04 19:55:18 +02:00
José Valim 4f9e8adf53 More cleanup. 2011-06-04 19:55:17 +02:00
José Valim 008b2467e2 Convert builtin to use bindings. 2011-06-04 19:55:16 +02:00
Xavier Perez 2f45138b4d Fixed the regex in String#chop 2011-05-30 23:10:42 +02:00
Xavier Perez d1d61e353d Changed String#chop to use a regex 2011-05-30 22:58:51 +02:00
Xavier Perez bff57858df Optimized String#capitalize 2011-05-30 21:40:13 +02:00
Xavier Perez 0f3013d91d Changed Regex to accept a type argument 2011-05-30 21:07:41 +02:00
Xavier Perez 2217b88bdf Added capitalize, index and chop to String 2011-05-30 20:48:51 +02:00
José Valim b01cfda578 Check if characeters are printable on String#inspect, closes #23. 2011-05-25 10:02:55 +02:00
José Valim e922b9af65 Remove deprecations. 2011-05-01 21:29:14 +02:00
José Valim dde5ab3ed6 Add strip to strings. 2011-04-24 14:18:49 +02:00
José Valim 2cfbb09437 Fix small bug and remove old cache directives. 2011-04-12 12:15:55 +02:00
José Valim 35d75a7380 Update examples (so glad string manipulation got much simpler, fast and powerful). 2011-04-03 21:16:12 +02:00
José Valim ca80e2c3f5 Strings are now binaries without no extra pass. This makes playing with strings faster and more compatible with Erlang. 2011-04-03 20:56:51 +02:00
José Valim 3d9ec39eab Add Regexp#run, String#scan and tests. 2011-04-03 17:11:09 +02:00
José Valim 8b4b2f2264 Allow escape characters in strings, add Regexp.escape and allow strings on split, sub and gsub. 2011-04-03 14:51:21 +02:00
Justin Baker 5c5c035f05 Added upcase, downcase, and reverse to Strings 2011-04-02 11:18:01 -04:00
José Valim e66991d904 Add String.split and allow tabs. 2011-03-20 23:43:29 +01:00
José Valim 1d7dbd2f8c Add empty? to STDLIB. 2011-03-18 13:53:13 +01:00
José Valim ad7f598110 Use default arguments internally. 2011-03-16 13:43:21 +01:00
José Valim 03f0ec62a9 Improve strings performance. 2011-03-09 16:51:23 +01:00
José Valim 57a1a6d241 Use update ivar instead. 2011-03-07 09:03:48 +01:00
José Valim d88374548a Elixir cache is implicit. 2011-03-05 15:10:56 +01:00
José Valim 0cf7157911 Added String.include? 2011-03-04 14:23:15 +01:00
José Valim b7f880ea4d Add delegate. 2011-02-28 20:12:18 +01:00
José Valim f72c7e5694 Added sub and gsub. 2011-02-28 14:35:09 +01:00
BigCat 08da79b986 String#to_atom, implement and test 2011-02-20 03:34:07 +08:00
José Valim be759dbefc A bunch of tests. 2011-02-19 11:16:15 +01:00