/* package whatever; // don't place package name! */
import java.util.* ;
import java.lang.* ;
import java.io.* ;
/* Name of the class has to be "Main" only if the class is public. */
class Ideone
{
{
String st
= "(1) A a, — al'-fah; of Hebrew origin; the first letter of the alphabet;" + "figurative only (from its use as a numeral) the first: — Alpha."
+ "Often used (usually ajn an, before a vowel) also in composition"
+ "(as a contraction from (427) (a]neu,)) in the sense of privation;"
+ "so in many words beginning with this letter; occasionally in the"
+ "sense of union (as a contraction of (260) (a[ma))."
+ "(2) ÆAarw>n, — ah-ar-ohn'; of Hebrew origin [Hebrew {175}"
+ "('Aharown)]; Aaron, the brother of Moses: — Aaron."
+ "(3) ÆAbaddw>n, — ab-ad-dohn'; of Hebrew origin [Hebrew {11}"
+ "('abaddown)]; a destroying angel: — Abaddon."
+ "(4) ajbarh>v, — ab-ar-ace'; from (1) (a) (as a negative particle) and (922)"
+ "(ba>rov); weightless, i.e. (figurative) not burdensome: — from being burdensome."
+ "(5) ÆAbba~, — ab-bah'; of Chaldee origin [Hebrew {2} ('ab (Chaldee))];" ;
String [ ] parts
= st.
split ( "[\n |.]\\ ([0-9]{1,2}\\ )" ) ; int i= 1 ;
System .
out .
println ( i
+ ":::" + p
) ; i++;
}
}
}
LyogcGFja2FnZSB3aGF0ZXZlcjsgLy8gZG9uJ3QgcGxhY2UgcGFja2FnZSBuYW1lISAqLwoKaW1wb3J0IGphdmEudXRpbC4qOwppbXBvcnQgamF2YS5sYW5nLio7CmltcG9ydCBqYXZhLmlvLio7CgovKiBOYW1lIG9mIHRoZSBjbGFzcyBoYXMgdG8gYmUgIk1haW4iIG9ubHkgaWYgdGhlIGNsYXNzIGlzIHB1YmxpYy4gKi8KY2xhc3MgSWRlb25lCnsKCXB1YmxpYyBzdGF0aWMgdm9pZCBtYWluIChTdHJpbmdbXSBhcmdzKSB0aHJvd3MgamF2YS5sYW5nLkV4Y2VwdGlvbgoJewoJCVN0cmluZyBzdD0iKDEpIEEgYSwg4oCUIGFsJy1mYWg7IG9mIEhlYnJld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mIENoYWxkZWUgb3JpZ2luIFtIZWJyZXcgezJ9ICgnYWIgKENoYWxkZWUpKV07IjsKU3RyaW5nW10gcGFydHM9c3Quc3BsaXQoIltcbnwuXVxcKFswLTldezEsMn1cXCkiKTsKaW50IGk9MTsKZm9yKFN0cmluZyBwOiBwYXJ0cyl7ClN5c3RlbS5vdXQucHJpbnRsbihpKyI6OjoiK3ApOwppKys7Cn0JCgl9Cn0=
stdout
1:::(1) A a, — al'-fah; of Hebrew origin; the first letter of the alphabet;figurative only (from its use as a numeral) the first: — Alpha.Often used (usually ajn an, before a vowel) also in composition(as a contraction from (427) (a]neu,)) in the sense of privation;so in many words beginning with this letter; occasionally in thesense of union (as a contraction of (260) (a[ma))
2::: ÆAarw>n, — ah-ar-ohn'; of Hebrew origin [Hebrew {175}('Aharown)]; Aaron, the brother of Moses: — Aaron
3::: ÆAbaddw>n, — ab-ad-dohn'; of Hebrew origin [Hebrew {11}('abaddown)]; a destroying angel: — Abaddon
4::: ajbarh>v, — ab-ar-ace'; from (1) (a) (as a negative particle) and (922)(ba>rov); weightless, i.e. (figurative) not burdensome: — from being burdensome
5::: ÆAbba~, — ab-bah'; of Chaldee origin [Hebrew {2} ('ab (Chaldee))];