Courses
Tutorials
Practice
Data Structure
Java
Python
HTML
Interview Preparation
DSA
Practice Problems
C
C++
Java
Python
JavaScript
Data Science
Machine Learning
Courses
Linux
DevOps
SQL
Web Development
System Design
Aptitude
GfG Premium
Similar Topics
Web Technologies
37.4K+ articles
DSA
22.8K+ articles
Python
21.3K+ articles
Experiences
16.6K+ articles
Interview Experiences
14.1K+ articles
JavaScript
12.2K+ articles
School Learning
11.5K+ articles
Java
10.8K+ articles
Ruby
1.2K+ articles
Ruby-Methods
926+ articles
Ruby Regexp-class
19 posts
Recent Articles
Popular Articles
Ruby | Regexp to_s() function
Last Updated: 17 December 2019
Regexp#to_s() : to_s() is a Regexp class method which returns the string containing the regular expression with the same semantics.Syntax: Regexp.to_s()Parameter: Regexp v...
read more
Ruby
Ruby-Methods
Ruby Regexp-class
Ruby | Regexp inspect() function
Last Updated: 17 May 2021
Regexp#inspect() is a Regexp class method which produces a formatted string-version of regular expression. Syntax: Regexp.inspect()Parameter: Regexp valuesReturn: a format...
read more
Ruby
Ruby-Methods
Ruby Regexp-class
Ruby | Regexp eql?() function
Last Updated: 17 December 2019
Regexp#eql?() : eql?() is a Regexp class method which matches the character in two regular expression. Syntax: Regexp.eql?()Parameter: Regexp valuesReturn: true - if two r...
read more
Ruby
Ruby-Methods
Ruby Regexp-class
Ruby | Regexp hash() function
Last Updated: 17 December 2019
Regexp#force_encoding?() : force_encoding?() is a Regexp class method which returns the hash based on the text and options of this regular expression. Syntax: Regexp.hash(...
read more
Ruby
Ruby-Methods
Ruby Regexp-class
Ruby | Regexp fixed_encoding?() function
Last Updated: 13 September 2024
Regexp#fixed_encoding?() : fixed_encoding?() is a Regexp class method which checks whether the regular expression is applicable to a string with any ASCII compatible encod...
read more
Ruby
Ruby-Methods
Ruby Regexp-class
Ruby | Regexp encoding() function
Last Updated: 17 December 2019
Regexp#encoding() : encoding() is a Regexp class method which returns the encoding value of the regular expressions. Syntax: Regexp.encoding()Parameter: Regexp valuesRetu...
read more
Ruby
Ruby-Methods
Ruby Regexp-class
Ruby | Regexp casefold?() function
Last Updated: 17 December 2019
Regexp#casefold?() : casefold?() is a Regexp class method which returns the value of the case-insensitive flag of regular expressions. Syntax: Regexp.casefold?()Parameter...
read more
Ruby
Ruby-Methods
Ruby Regexp-class
Ruby | Regexp =~() function
Last Updated: 04 September 2021
Regexp#=~() : =~() is a Regexp class method which matches a regular expression against a string. Syntax: Regexp.=~()Parameter: Regexp valuesReturn: true - if two regular e...
read more
Ruby
Ruby-Methods
Ruby Regexp-class
Ruby | Regexp ===() function
Last Updated: 17 December 2019
Regexp#===() : ===() is a Regexp class method which compares the equality of two regular expressions. Syntax: Regexp.===()Parameter: Regexp valuesReturn: true - if two re...
read more
Ruby
Ruby-Methods
Ruby Regexp-class
Ruby | Regexp ==() function
Last Updated: 17 December 2019
Regexp#==() : ==() is a Regexp class method which compares two regular expressions. Syntax: Regexp.==()Parameter: Regexp valuesReturn: true - if two regular expressions a...
read more
Ruby
Ruby-Methods
Ruby Regexp-class
Ruby | Regexp quote() function
Last Updated: 17 December 2019
Regexp#quote() : quote() is a Regexp class method which escapes any characters that would have special meaning in a regular expression. Syntax: Regexp.quote()Parameter: R...
read more
Ruby
Ruby-Methods
Ruby Regexp-class
Ruby | Regexp new() function
Last Updated: 17 December 2019
Regexp#new() : new() is a Regexp class method which returns a new regular expression pattern. Syntax: Regexp.new()Parameter: Regexp valuesReturn: a new regular expression...
read more
Ruby
Ruby-Methods
Ruby Regexp-class
Ruby | Regexp compile() function
Last Updated: 17 December 2019
Regexp#compile() : compile() is a Regexp class method which completes a new Regular Expression. Syntax: Regexp.compile()Parameter: Regexp valuesReturn: creates a new Reg...
read more
Ruby
Ruby-Methods
Ruby Regexp-class
Ruby | Regexp escape() function
Last Updated: 17 December 2019
Regexp#escape() : escape() is a Regexp class method which returns a new string by escaping any characters that would have special meaning in a regular expression. Syntax:...
read more
Ruby
Ruby-Methods
Ruby Regexp-class
Ruby | Regexp options() function
Last Updated: 17 December 2019
Regexp#options() : options() is a Regexp class method which returns the set of bits corresponding to the options used when creating the Regular Expression.Syntax: Regexp.o...
read more
Ruby
Ruby-Methods
Ruby Regexp-class
1
2
We use cookies to ensure you have the best browsing experience on our website. By using our site, you acknowledge that you have read and understood our
Cookie Policy
&
Privacy Policy
Got It !