User:Sumitkhane/sandbox

This is my User Sandbox.

Task 1


imgs

Task 2
Q1. What keyword marks the start of a function definition? A1. function

Q2. Which letter is conventionally used in Scribunto modules to hold the table of functions? A2. p

Q3. What keyword marks the end of a function definition? A3. end

Task 5
Q1. What does %w+ match in a Lua pattern? A1. It is the ASCII alphanumeric character which matches 1 or more repetitions of characters in the class. They match the longest possible sequence.The `+´ modifier matches one or more characters of the original class. It will always get the longest sequence that matches the pattern.

Q2. What does %d+ match in a Lua pattern? A2. It represents all digits (which are integers) which match 1 or more repetitions of characters in the class. They match the longest possible sequence.

"(%w+), (%d+), (%d+)"    IS THE PATTERN.