Edit File by line
/home/barbar84/public_h.../wp-conte.../plugins/sujqvwi/AnonR/smanonr..../opt/alt/ruby27/share/ruby
File: English.rb
# frozen_string_literal: true
[0] Fix | Delete
# Include the English library file in a Ruby script, and you can
[1] Fix | Delete
# reference the global variables such as <tt>$_</tt> using less
[2] Fix | Delete
# cryptic names, listed below.
[3] Fix | Delete
#
[4] Fix | Delete
# Without 'English':
[5] Fix | Delete
#
[6] Fix | Delete
# $\ = ' -- '
[7] Fix | Delete
# "waterbuffalo" =~ /buff/
[8] Fix | Delete
# print $', $$, "\n"
[9] Fix | Delete
#
[10] Fix | Delete
# With English:
[11] Fix | Delete
#
[12] Fix | Delete
# require "English"
[13] Fix | Delete
#
[14] Fix | Delete
# $OUTPUT_FIELD_SEPARATOR = ' -- '
[15] Fix | Delete
# "waterbuffalo" =~ /buff/
[16] Fix | Delete
# print $POSTMATCH, $PID, "\n"
[17] Fix | Delete
#
[18] Fix | Delete
# Below is a full list of descriptive aliases and their associated global
[19] Fix | Delete
# variable:
[20] Fix | Delete
#
[21] Fix | Delete
# $ERROR_INFO:: $!
[22] Fix | Delete
# $ERROR_POSITION:: $@
[23] Fix | Delete
# $FS:: $;
[24] Fix | Delete
# $FIELD_SEPARATOR:: $;
[25] Fix | Delete
# $OFS:: $,
[26] Fix | Delete
# $OUTPUT_FIELD_SEPARATOR:: $,
[27] Fix | Delete
# $RS:: $/
[28] Fix | Delete
# $INPUT_RECORD_SEPARATOR:: $/
[29] Fix | Delete
# $ORS:: $\
[30] Fix | Delete
# $OUTPUT_RECORD_SEPARATOR:: $\
[31] Fix | Delete
# $INPUT_LINE_NUMBER:: $.
[32] Fix | Delete
# $NR:: $.
[33] Fix | Delete
# $LAST_READ_LINE:: $_
[34] Fix | Delete
# $DEFAULT_OUTPUT:: $>
[35] Fix | Delete
# $DEFAULT_INPUT:: $<
[36] Fix | Delete
# $PID:: $$
[37] Fix | Delete
# $PROCESS_ID:: $$
[38] Fix | Delete
# $CHILD_STATUS:: $?
[39] Fix | Delete
# $LAST_MATCH_INFO:: $~
[40] Fix | Delete
# $IGNORECASE:: $=
[41] Fix | Delete
# $ARGV:: $*
[42] Fix | Delete
# $MATCH:: $&
[43] Fix | Delete
# $PREMATCH:: $`
[44] Fix | Delete
# $POSTMATCH:: $'
[45] Fix | Delete
# $LAST_PAREN_MATCH:: $+
[46] Fix | Delete
#
[47] Fix | Delete
module English end if false
[48] Fix | Delete
[49] Fix | Delete
# The exception object passed to +raise+.
[50] Fix | Delete
alias $ERROR_INFO $!
[51] Fix | Delete
[52] Fix | Delete
# The stack backtrace generated by the last
[53] Fix | Delete
# exception. See Kernel#caller for details. Thread local.
[54] Fix | Delete
alias $ERROR_POSITION $@
[55] Fix | Delete
[56] Fix | Delete
# The default separator pattern used by String#split. May be set from
[57] Fix | Delete
# the command line using the <tt>-F</tt> flag.
[58] Fix | Delete
alias $FS $;
[59] Fix | Delete
[60] Fix | Delete
# The default separator pattern used by String#split. May be set from
[61] Fix | Delete
# the command line using the <tt>-F</tt> flag.
[62] Fix | Delete
alias $FIELD_SEPARATOR $;
[63] Fix | Delete
[64] Fix | Delete
# The separator string output between the parameters to methods such
[65] Fix | Delete
# as Kernel#print and Array#join. Defaults to +nil+, which adds no
[66] Fix | Delete
# text.
[67] Fix | Delete
alias $OFS $,
[68] Fix | Delete
[69] Fix | Delete
# The separator string output between the parameters to methods such
[70] Fix | Delete
# as Kernel#print and Array#join. Defaults to +nil+, which adds no
[71] Fix | Delete
# text.
[72] Fix | Delete
alias $OUTPUT_FIELD_SEPARATOR $,
[73] Fix | Delete
[74] Fix | Delete
# The input record separator (newline by default). This is the value
[75] Fix | Delete
# that routines such as Kernel#gets use to determine record
[76] Fix | Delete
# boundaries. If set to +nil+, +gets+ will read the entire file.
[77] Fix | Delete
alias $RS $/
[78] Fix | Delete
[79] Fix | Delete
# The input record separator (newline by default). This is the value
[80] Fix | Delete
# that routines such as Kernel#gets use to determine record
[81] Fix | Delete
# boundaries. If set to +nil+, +gets+ will read the entire file.
[82] Fix | Delete
alias $INPUT_RECORD_SEPARATOR $/
[83] Fix | Delete
[84] Fix | Delete
# The string appended to the output of every call to methods such as
[85] Fix | Delete
# Kernel#print and IO#write. The default value is +nil+.
[86] Fix | Delete
alias $ORS $\
[87] Fix | Delete
[88] Fix | Delete
# The string appended to the output of every call to methods such as
[89] Fix | Delete
# Kernel#print and IO#write. The default value is +nil+.
[90] Fix | Delete
alias $OUTPUT_RECORD_SEPARATOR $\
[91] Fix | Delete
[92] Fix | Delete
# The number of the last line read from the current input file.
[93] Fix | Delete
alias $INPUT_LINE_NUMBER $.
[94] Fix | Delete
[95] Fix | Delete
# The number of the last line read from the current input file.
[96] Fix | Delete
alias $NR $.
[97] Fix | Delete
[98] Fix | Delete
# The last line read by Kernel#gets or
[99] Fix | Delete
# Kernel#readline. Many string-related functions in the
[100] Fix | Delete
# Kernel module operate on <tt>$_</tt> by default. The variable is
[101] Fix | Delete
# local to the current scope. Thread local.
[102] Fix | Delete
alias $LAST_READ_LINE $_
[103] Fix | Delete
[104] Fix | Delete
# The destination of output for Kernel#print
[105] Fix | Delete
# and Kernel#printf. The default value is
[106] Fix | Delete
# <tt>$stdout</tt>.
[107] Fix | Delete
alias $DEFAULT_OUTPUT $>
[108] Fix | Delete
[109] Fix | Delete
# An object that provides access to the concatenation
[110] Fix | Delete
# of the contents of all the files
[111] Fix | Delete
# given as command-line arguments, or <tt>$stdin</tt>
[112] Fix | Delete
# (in the case where there are no
[113] Fix | Delete
# arguments). <tt>$<</tt> supports methods similar to a
[114] Fix | Delete
# File object:
[115] Fix | Delete
# +inmode+, +close+,
[116] Fix | Delete
# <tt>closed?</tt>, +each+,
[117] Fix | Delete
# <tt>each_byte</tt>, <tt>each_line</tt>,
[118] Fix | Delete
# +eof+, <tt>eof?</tt>, +file+,
[119] Fix | Delete
# +filename+, +fileno+,
[120] Fix | Delete
# +getc+, +gets+, +lineno+,
[121] Fix | Delete
# <tt>lineno=</tt>, +path+,
[122] Fix | Delete
# +pos+, <tt>pos=</tt>,
[123] Fix | Delete
# +read+, +readchar+,
[124] Fix | Delete
# +readline+, +readlines+,
[125] Fix | Delete
# +rewind+, +seek+, +skip+,
[126] Fix | Delete
# +tell+, <tt>to_a</tt>, <tt>to_i</tt>,
[127] Fix | Delete
# <tt>to_io</tt>, <tt>to_s</tt>, along with the
[128] Fix | Delete
# methods in Enumerable. The method +file+
[129] Fix | Delete
# returns a File object for the file currently
[130] Fix | Delete
# being read. This may change as <tt>$<</tt> reads
[131] Fix | Delete
# through the files on the command line. Read only.
[132] Fix | Delete
alias $DEFAULT_INPUT $<
[133] Fix | Delete
[134] Fix | Delete
# The process number of the program being executed. Read only.
[135] Fix | Delete
alias $PID $$
[136] Fix | Delete
[137] Fix | Delete
# The process number of the program being executed. Read only.
[138] Fix | Delete
alias $PROCESS_ID $$
[139] Fix | Delete
[140] Fix | Delete
# The exit status of the last child process to terminate. Read
[141] Fix | Delete
# only. Thread local.
[142] Fix | Delete
alias $CHILD_STATUS $?
[143] Fix | Delete
[144] Fix | Delete
# A +MatchData+ object that encapsulates the results of a successful
[145] Fix | Delete
# pattern match. The variables <tt>$&</tt>, <tt>$`</tt>, <tt>$'</tt>,
[146] Fix | Delete
# and <tt>$1</tt> to <tt>$9</tt> are all derived from
[147] Fix | Delete
# <tt>$~</tt>. Assigning to <tt>$~</tt> changes the values of these
[148] Fix | Delete
# derived variables. This variable is local to the current
[149] Fix | Delete
# scope.
[150] Fix | Delete
alias $LAST_MATCH_INFO $~
[151] Fix | Delete
[152] Fix | Delete
# This variable is no longer effective. Deprecated.
[153] Fix | Delete
alias $IGNORECASE $=
[154] Fix | Delete
[155] Fix | Delete
# An array of strings containing the command-line
[156] Fix | Delete
# options from the invocation of the program. Options
[157] Fix | Delete
# used by the Ruby interpreter will have been
[158] Fix | Delete
# removed. Read only. Also known simply as +ARGV+.
[159] Fix | Delete
alias $ARGV $*
[160] Fix | Delete
[161] Fix | Delete
# The string matched by the last successful pattern
[162] Fix | Delete
# match. This variable is local to the current
[163] Fix | Delete
# scope. Read only.
[164] Fix | Delete
alias $MATCH $&
[165] Fix | Delete
[166] Fix | Delete
# The string preceding the match in the last
[167] Fix | Delete
# successful pattern match. This variable is local to
[168] Fix | Delete
# the current scope. Read only.
[169] Fix | Delete
alias $PREMATCH $`
[170] Fix | Delete
[171] Fix | Delete
# The string following the match in the last
[172] Fix | Delete
# successful pattern match. This variable is local to
[173] Fix | Delete
# the current scope. Read only.
[174] Fix | Delete
alias $POSTMATCH $'
[175] Fix | Delete
[176] Fix | Delete
# The contents of the highest-numbered group matched in the last
[177] Fix | Delete
# successful pattern match. Thus, in <tt>"cat" =~ /(c|a)(t|z)/</tt>,
[178] Fix | Delete
# <tt>$+</tt> will be set to "t". This variable is local to the
[179] Fix | Delete
# current scope. Read only.
[180] Fix | Delete
alias $LAST_PAREN_MATCH $+
[181] Fix | Delete
[182] Fix | Delete
It is recommended that you Edit text format, this type of Fix handles quite a lot in one request
Function