We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
1 parent 2a91f3b commit c9f3107Copy full SHA for c9f3107
README.md
@@ -58,7 +58,8 @@ code.
58
59
* **line 547**: opal cannot use mutable strings (see opal/rspec/fixes.rb)
60
61
-* **line 564**: opal cannot use mutable strings (see opal/rspec/fixes.rb)
+* **line 564**: opal cannot use mutable strings (see opal/rspec/fixes.rb). Also, opal
62
+does not support 2 regexp special characters yet (`\A` and `\z`).
63
64
### rspec/core/project_initializer.rb
65
opal/opal/rspec/fixes.rb
@@ -43,7 +43,7 @@ def self.base_name_for(group)
43
44
# Ruby requires first const letter to be A-Z. Use `Nested`
45
# as necessary to enforce that.
46
- name = name.gsub(/\A([^A-Z]|\z)/, 'Nested$1')
+ name = name.gsub(/^([^A-Z]|$)/, 'Nested$1')
47
48
name
49
end
0 commit comments